Re: Efficiency of inner joins across multiple tables

From: Saptarshi Guha <saptarshi(dot)guha(at)gmail(dot)com>
To: "David Wilson" <david(dot)t(dot)wilson(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Efficiency of inner joins across multiple tables
Date: 2008-10-08 01:04:16
Message-ID: 388625CB-4B77-4836-8673-2238D72CDA07@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello,

>> Q: How efficient is this?
>
> If connectionHash is unique or near to it, and everything's indexed...
> it could work for reasonable K values depending on your performance
> requirements.
>

Nice to hear.

>> Every time i create a new table should i create a table with all
>> columns and
>> query from that?
>
> Is there any reason you can't just add the new column to the
> existing table?
>

Aah, very nice. I wasn't aware I could add a column once it has the
table has been created. I see the Alter command will do the trick.
Sounds good.

Thank you very much
Regards
Saptarshi

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2008-10-08 01:20:53 Re: question
Previous Message David Wilson 2008-10-08 00:57:27 Re: Efficiency of inner joins across multiple tables