| От | hubert depesz lubaczewski |
|---|---|
| Тема | Re: Insert performance with composite index |
| Дата | |
| Msg-id | 20101102094539.GA6686@depesz.com обсуждение |
| Ответ на | Re: Insert performance with composite index (Cédric Villemain <cedric.villemain.debian@gmail.com>) |
| Ответы |
Re: Insert performance with composite index
|
| Список | pgsql-performance |
On Mon, Nov 01, 2010 at 02:57:56PM +0100, Cédric Villemain wrote: > > CONSTRAINT tableindex_pkey PRIMARY KEY (tableindex) > > ) > > the index definition is > > CREATE INDEX "PK_AT2" > > ON ABC > > USING btree > > (event, tableindex) > > TABLESPACE sample; > > Indexing twice the same column is useless. (perhaps move your PK to > the tablespace 'sample' is good too ?) why do you say that? these are not the same indexes and they serve different purposes. Best regards, depesz -- Linkedin: http://www.linkedin.com/in/depesz / blog: http://www.depesz.com/ jid/gtalk: depesz@depesz.com / aim:depeszhdl / skype:depesz_hdl / gg:6749007
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера