Re: Compound Indexes
| От | Tom Lane |
|---|---|
| Тема | Re: Compound Indexes |
| Дата | |
| Msg-id | 20500.1187144121@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: Compound Indexes ("Phoenix Kiula" <phoenix.kiula@gmail.com>) |
| Список | pgsql-general |
"Phoenix Kiula" <phoenix.kiula@gmail.com> writes: > Thank you so much! My only concern, probably a hangover from the MySQL > world, is that if I have 5 of 6 indices, what would that do to INSERT > and UPDATE performance if all these indices have to be updated? Is > updating individual indices faster than one large compound index? Probably slower, but the compound index is enough more specialized that it's not as useful as the individual indexes. (I suspect that that compound index in MySQL didn't do you nearly as much good as you thought, either.) You should read http://www.postgresql.org/docs/8.2/static/indexes-bitmap-scans.html and nearby sections of the manual. regards, tom lane
В списке pgsql-general по дате отправления: