GIN, GiST & BRIN indexes
Në shqip: Indekset GIN, GiST dhe BRIN
ShpjegimiSQ
Përveç B-tree, PostgreSQL ka indekse të specializuara: GIN për JSON, vargje dhe kërkim teksti; GiST për gjeometri dhe intervale; BRIN, shumë i vogël, për tabela gjigante të renditura sipas kohës.
EnglishEN
Besides B-trees, PostgreSQL has specialised indexes: GIN for JSON, arrays and text search; GiST for geometry and ranges; BRIN, very small, for huge tables ordered by time.
Si ta mendosh
Si katalogë të ndryshëm për librat, hartat dhe arkivat e gazetave.
Lexoje në anglisht
Like different catalogues for books, maps and newspaper archives.
Shembull kodisql
CREATE INDEX idx_preferencat ON perdoruesit USING GIN (preferencat);