| От | David Smith |
|---|---|
| Тема | Re: creating index on changed field type |
| Дата | |
| Msg-id | 4050B5E5.1030904@instytut.com.pl обсуждение исходный текст |
| Ответ на | Re: creating index on changed field type (Tom Lane <tgl@sss.pgh.pa.us>) |
| Список | pgsql-hackers |
Użytkownik Tom Lane napisał: > David Smith <gegez-pgh@instytut.com.pl> writes: > >>Should I forget about btrees and move to GIST, > > > Yes. There's no provision in the btree code for an index storage type > different from the column datatype. > > regards, tom lane > > Thank You for reply. Let us suppose, the we retain type of field (column). But instead of storing original value(key), we will store tokens(Instead 'this is my first text', we would keep 5 tokens (5 different BTItems) respectively: 'this', 'is', 'my', 'first', 'text'). Will it work or is there any other catch I can not see. My performance tests resulted that GIST would be slower than original btree index. Maybe I mistaken somehow... Best regards, David
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера