From: | David Goodenough <david(dot)goodenough(at)btconnect(dot)com> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Custom Fields Database Architecture |
Date: | 2009-06-15 15:14:07 |
Message-ID: | 200906151614.09513.david.goodenough@btconnect.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Monday 15 June 2009, Gnanam wrote:
> Hi,
>
> I'm designing a database schema in which I should allow user to create
> custom fields at the application level. My application is a web-based
> system and it has multiple companies in a single database. So this means
> that each company can create their own custom fields. A custom field
> created in a company should not be visibile to the other company. Also, we
> don't want to restrict the number of fields allowed to create.
>
> I also read some article which talks about the type of patterns:
> 1. Meta-database
> 2. Mutating
> 3. Fixed
> 4. LOB
>
> My question here is, what is the best approach to define the architecture
> for custom fields. Performance should not be compromised.
>
> Thank you in advance.
>
> Regards,
> Gnanam.
>
> --
> View this message in context:
> http://www.nabble.com/Custom-Fields-Database-Architecture-tp24034270p240342
>70.html Sent from the PostgreSQL - general mailing list archive at
> Nabble.com.
It depends a bit how you want to use the data. If you are not wedded to the
RDMS model, you might look at CouchDB which is a schema-less DB. But
do not expect to run SQL against it - it takes a rather different approach.
There are others around, some of them proprietary, Lotus Notes/Domino
is probably the best know of these.
David
From | Date | Subject | |
---|---|---|---|
Next Message | Vick Khera | 2009-06-15 15:23:07 | Re: Trigger Function and backup |
Previous Message | David Fetter | 2009-06-15 15:07:30 | Re: horizontal sharding |