Search Postgresql Archives

Will Index improve the speed?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

I got a table with many columns of data which got an index on one of the fields (Tsearch2 Gist).

I thought that maybe if I'll create a new table with 2 fields (primary key reference to the previous table & the index field from the previous table) and made the index on the index field, maybe then it will be faster to query the new smaller table and then left join the results to the first table in order to get the results.

Is that true or as I suspect the index is "in a way" a smaller table already which is handling it even better then my idea?

Thanks a lot in advance,
Yonatan

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux