| От | Peter Eisentraut |
|---|---|
| Тема | Re: primary/secondary index, difference |
| Дата | |
| Msg-id | Pine.LNX.4.30.0106181749440.898-100000@peter.localdomain обсуждение исходный текст |
| Ответ на | Re: primary/secondary index, difference ("Thalis A. Kalfigopoulos" <thalis@cs.pitt.edu>) |
| Список | pgsql-general |
Thalis A. Kalfigopoulos writes: > I was under the impression that primary index is the same as clustered index i.e. the order in the index matches the physicalorder the records are stored on disk thus making it better when doing sequential accesses. > I assume that this is exactly the use of the CLUSTER command, to actually make a primary index. T/F? No, cluster just orders the table after the index at the time it's called. Subsequent writes will not obey that order (new rows generally go at the end). -- Peter Eisentraut peter_e@gmx.net http://funkturm.homeip.net/~peter
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера