From: | Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | bobd(at)palaver(dot)net (Bob Dusek) |
Cc: | pgsql-general(at)postgreSQL(dot)org |
Subject: | Re: [GENERAL] Cost: Big Tables vs. Organized Separation of Data |
Date: | 1999-02-03 03:57:01 |
Message-ID: | 199902030357.WAA19925@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
> 1. If I re-organize the data, I would be able to perform my queries
> without executing joins on multiple tables per query.
>
> 2. As I re-organize the data, the database becomes less and less
> intuitive and (seemingly) less "normal".
>
> So, I guess my question is: how costly are joins? I've heard that
> Postgres pretty much "pukes" (in terms of speed) when you're trying
> to do anything more than 6 table joins in one query. This leads
> me to believe that joins are fairly costly... ????
>
> Does anyone have any words of advice for me as I battle this?
We are working speeding up large table joins right now. Try doing SET
GEQO to set the value lower and see if that helps.
--
Bruce Momjian | http://www.op.net/~candle
maillist(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
From | Date | Subject | |
---|---|---|---|
Next Message | Herouth Maoz | 1999-02-03 12:17:27 | Re: [GENERAL] Unexpected input in plpgsql script. |
Previous Message | Bob Dusek | 1999-02-03 01:41:23 | Cost: Big Tables vs. Organized Separation of Data |