Re: Table Relationships
От | Andrew Sullivan |
---|---|
Тема | Re: Table Relationships |
Дата | |
Msg-id | 20030530181854.GA19077@libertyrms.info обсуждение исходный текст |
Ответ на | Re: Table Relationships ("scott.marlowe" <scott.marlowe@ihs.com>) |
Ответы |
Re: Table Relationships
|
Список | pgsql-performance |
On Fri, May 30, 2003 at 11:20:33AM -0600, scott.marlowe wrote: > but denormalizing for storage is usually a bad idea, as it allows your > data to get filled with inconsistencies. Sure, but if performance is an important goal for certain kinds of SELECTs, using a trigger at insert or update to do denormalising is perhaps an acceptable approach. It's obvious that in most cases, denormalising instead of optimising your normalisation is silly. But if you need something to return in, say, 2ms most of the time, and it requires a wide variety of data, denormalising is a good idea. It is, of course, contrary to the RDBMS-y mind to denormalise. But there are (rare) times when it's a good idea, and I hate to see it rejected out of hand in such cases. A -- ---- Andrew Sullivan 204-4141 Yonge Street Liberty RMS Toronto, Ontario Canada <andrew@libertyrms.info> M2P 2A8 +1 416 646 3304 x110
В списке pgsql-performance по дате отправления: