MySQL Forums
Forum List  »  Newbie

Re: Different data types
Posted by: Peter Brawley
Date: August 17, 2010 01:19PM

It's the Entity-Attribute-Value (EAV) data model. Queries on it are brutal to write, brutal to debug because non-trivial queries turn out to require complicated "pivot" table designs (there's an elementary example under "pivot table basics" at http://www.artfulsoftware.com/queries.php), and their performance is often unacceptably slow. So it may be worth your while to switch to traditional SQL design, ie literal column specs and enough extra columns to accommodate future column specs.

PB
http://www.artfulsoftware.com

Options: ReplyQuote


Subject
Written By
Posted
August 17, 2010 11:58AM
Re: Different data types
August 17, 2010 01:19PM
August 17, 2010 01:29PM
August 17, 2010 01:53PM
August 17, 2010 08:43PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.