From: Rodrigo E. De León Plicet <rdeleonp@gmail.com>
To: Madison Kelly <linux@alteeve.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Optimizing a VIEW
Date: Sat, 16 Aug 2008 20:36:21 -0500
Message-ID: <a55915760808161836k3f7e9d46ga8e5e99cf444a05f@mail.gmail.com> (raw)
In-Reply-To: <48A5CCA4.2040206@alteeve.com>
References: <48A5CCA4.2040206@alteeve.com>
On Fri, Aug 15, 2008 at 1:36 PM, Madison Kelly <linux@alteeve.com> wrote:
> The 'cust_id' references the customer that the given data belongs to. The
> reason for this "data bucket" (does this structure have a proper name?) is
> that the data I need to store on a give customer is quite variable and
> outside of my control. As it is, there is about 400 different variable/value
> pairs I need to store per customer.
For you very specific case, I recommend you check out contrib/hstore:
http://www.postgresql.org/docs/current/static/hstore.html
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: rdeleonp@gmail.com, linux@alteeve.com
Subject: Re: Optimizing a VIEW
In-Reply-To: <a55915760808161836k3f7e9d46ga8e5e99cf444a05f@mail.gmail.com>
References: <48A5CCA4.2040206@alteeve.com> <a55915760808161836k3f7e9d46ga8e5e99cf444a05f@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