From: "colnector (colnect.com)" <webmas...@colnect.com>
Date: Fri, 16 May 2008 09:29:27 -0700 (PDT)
Local: Fri 16 May 2008 17:29
Subject: Re: Simple Inheritance
You can look at the space wasted in percentages.
Also, every query will have to check the type field. IMHO, column aggregation should be considered only if you have many
Cheers
2008/5/15 Alex:
For some reason duplicating the same table structure twice seems
On Wed, May 14, 2008 at 8:40 PM, colnector wrote:
Doesn't this create comment_id and item_id in the same votes
On May 14, 9:13 pm, Alex <outroa...@gmail.com> wrote:
> How does this look?
> Vote:
> VoteItem:
> VoteComment:
> Advantage is that it maintains FK restrictions.
> On Wed, May 14, 2008 at 2:07 PM, Jonathan Wage <jonw...@gmail.com> wrote:
> > - Jon
> > On Wed, May 14, 2008 at 12:02 PM, Alex <outroa...@gmail.com> wrote:
> >> What would be an alternate solution?
> >> - alex (from iphone)
> >> On 14-May-08, at 1:43 PM, "Jonathan Wage" <jonw...@gmail.com> wrote:
> >> I think that column aggregation is the best solution right now.
> >> - Jon
> >> On Wed, May 14, 2008 at 11:20 AM, Alex < <outroa...@gmail.com>
> >>> But with column aggregation I also have to define an additional column
> >>> What's the ideal solution?
> >>> - alex (from iphone)
> >>> On 14-May-08, at 11:51 AM, "Jonathan Wage" < <jonw...@gmail.com>
> >>> Simple inheritance is one table with all columns on the parent.
> >>> You want something like column aggregation inheritance it sounds like.
> >>> - Jon
> >>> On Tue, May 13, 2008 at 5:17 PM, Alex < <outroa...@gmail.com><outroa...@gmail.com>
> >>>> What exactly is simple inheritance? With what I have below, it doesn't
> >>>> Thanks!
> >>>> Vote:
> >>>> VoteItem:
> >>>> VoteComment:
> >>> --
> >> --
> > --
> --
> - Alex You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||