Re: [GENERAL] Cost: Big Tables vs. Organized Separation of Data
| От | Bruce Momjian |
|---|---|
| Тема | Re: [GENERAL] Cost: Big Tables vs. Organized Separation of Data |
| Дата | |
| Msg-id | 199902030357.WAA19925@candle.pha.pa.us обсуждение |
| Ответ на | Cost: Big Tables vs. Organized Separation of Data (Bob Dusek <bobd@palaver.net>) |
| Список | 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@candle.pha.pa.us | (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania 19026
В списке pgsql-general по дате отправления: