Re: ejemplo con indicex GIN

From: Jaime Casanova <jaime(dot)casanova(at)2ndquadrant(dot)com>
To: heriberto giron <heribertogirons(at)gmail(dot)com>
Cc: POSTGRES <pgsql-es-ayuda(at)postgresql(dot)org>
Subject: Re: ejemplo con indicex GIN
Date: 2016-01-13 17:14:17
Message-ID: CAJGNTeMxZxttko4t4bePBrqENCRmsrDFsau4N72j7TGXW83xyw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-es-ayuda

2016-01-12 17:43 GMT-05:00 heriberto giron <heribertogirons(at)gmail(dot)com>:
> alguien puede indicarme como implemento un indice con gin, estoy trabajando
> con postgres 9.4 y deseo utilizar estos tipos de indices que dice la
> documentacion q son mas veloces
>

Bueno, la documentación quizá dice que son más veloces que antes. Pero
no se trata sólo de crear por crear, debes saber para que los vas a
usar.

""" http://www.postgresql.org/docs/9.4/static/gin-intro.html """
GIN is designed for handling cases where the items to be indexed are
composite values, and the queries to be handled by the index need to
search for element values that appear within the composite items.
"""

Por ejemplo, índices GIN son muy útiles si usas arreglos, hstore,
jsonb y otros tipos de datos compuestos. También se puede usar para
indexar cosas como LIKE '%algo%'.

--
Jaime Casanova www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

-
Enviado a la lista de correo pgsql-es-ayuda (pgsql-es-ayuda(at)postgresql(dot)org)
Para cambiar tu suscripcin:
http://www.postgresql.org/mailpref/pgsql-es-ayuda

In response to

Browse pgsql-es-ayuda by date

  From Date Subject
Next Message Luis Alberto Suarez 2016-01-14 16:25:57 Ayuda de conexion
Previous Message Carlos Edward Grajales Marmolejo 2016-01-13 00:08:13 Re: ejemplo con indicex GIN