Re: Poor performance when deleting from entity-attribute-value type master-table - Mailing list pgsql-performance

From Josh Berkus
Subject Re: Poor performance when deleting from entity-attribute-value type master-table
Date
Msg-id 54D92EF6.3080409@agliodbs.com
Whole thread Raw
In response to Poor performance when deleting from entity-attribute-value type master-table  (Andreas Joseph Krogh <andreas@visena.com>)
List pgsql-performance
On 02/09/2015 01:12 PM, Andreas Joseph Krogh wrote:
> Are there any ways around this or do people simply avoid having FKs in
> schemas like this?

Don't use EAV.  It's a bad design pattern, especially for you, and
you've just discovered one of the reasons why.

(In fact, I am just today dismantling an EAV database and normalizing
it, and so far application throughput is up 500%)

--
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com


pgsql-performance by date:

Previous
From: Andreas Joseph Krogh
Date:
Subject: Re: Poor performance when deleting from entity-attribute-value type master-table
Next
From: sridhar bamandlapally
Date:
Subject: Re: [ADMIN] Vs NULL