| От | Peter Eisentraut |
|---|---|
| Тема | Re: Modify existing index |
| Дата | |
| Msg-id | 200704210837.44254.peter_e@gmx.net обсуждение исходный текст |
| Ответ на | Modify existing index (RPK <rpk.general@gmail.com>) |
| Ответы |
Re: Modify existing index
|
| Список | pgsql-general |
RPK wrote: > I have a table and a column that is primary key. I want to modify the > existing index and use two other columns to be used for indexing. > Since queries will be run using these two columns, hence I want to > use them. The choice of what your primary key is should arise from the schema design, not the frequency of queries. If you are querying columns other than the primary key, just add another index. -- Peter Eisentraut http://developer.postgresql.org/~petere/
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера