Search Postgresql Archives

Re: JsonB Gin Index is very large; is there a work around?

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

 



Ok Thank you.

FWIW, the documents (which I can't share) consist mainly of a long list of integers in the form {"n":"41515920318427252715"}, so they really are outliers.


On Wed, Aug 20, 2014 at 5:09 PM, Peter Geoghegan <peter.geoghegan86@xxxxxxxxx> wrote:
On Wed, Aug 20, 2014 at 1:53 PM, Larry White <ljw1001@xxxxxxxxx> wrote:
> Is there anyway to index a subset of the data in a JSONB column? I'm
> thinking of something like declaring certain paths to be indexed?


Yes. See the _expression_ index example in the jsonb documentation.

--
Regards,
Peter Geoghegan


[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