Search Postgresql Archives

XML Index again

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

 



I still have some problems with my xml index

CREATE INDEX xml_index
  ON time_series
  USING btree
  ((
  (xpath('/AttributeList/Attributes/Attribute/Name/text()', external_attributes))[1]::text));

When I run the following query the index is not used :

select id from time_series where  
array_upper(
(xpath('/AttributeList/Attributes/Attribute[Name="Attribute122021"]', external_attributes))
, 1) > 0

Any Idea on how to configure the index ?

Thanks
Chris




[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