In fact my first intention was to evaluate the performances of the two different cases: querying time and space with separate index, and then with a unique spatio-temporal index.<br>Do spatio-temporal queries, in this second case, can be performed even if the spatial and temporal query data are stored as separate column? Or is this cube type a special data type with a related index type?
<br>In my spatio-temporal schema are even defined in different tables, that have to be joined when executing the access query.<br><br>Best regards,<br>-Elena <br><br><div><span class="gmail_quote">On 8/7/07, <b class="gmail_sendername">
Chris Hodgson</b> &lt;<a href="mailto:chodgson@refractions.net">chodgson@refractions.net</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
You didn&#39;t mention if you would be doing spatio-temporal queries, ie.<br>querying for objects which existed within a certain region of time and<br>space. For these types of queries, the cube type and index which is<br>
provided in the postgres-contrib package is quite effective. You can<br>store your x,y coordinates in the first two dimensions of the cube,and<br>the date/time in the third dimension. The gist-based cube indexes are<br>are very fast, but do consume a lot of disk space.
<br><br>If you&#39;re only querying based on date then a standard b-tree index on<br>the date itself should provide reasonable performance.<br><br>Chris<br><br>Elena Camossi wrote:<br>&gt; Hi list,<br>&gt;<br>&gt; I&#39;m designing a spatio-temporal schema with support for coverage and
<br>&gt; temporal data in postgresql by using postgis spatial extension. The<br>&gt; temporal support so far is quite limited,&nbsp;&nbsp;just timestamps which state<br>&gt; the time at which data have been collected. Anyway, the temporal
<br>&gt; information is extensively used to access data, so the corresponding<br>&gt; fields should require an index.<br>&gt;<br>&gt; The scientific literature states that R-Tree perform quite well with<br>&gt; this kind of data, but there exist other indexes that should perform better.
<br>&gt; Does anyone in the list has some previous experience on using GiST<br>&gt; postgres implementation for indexing postgresql temporal columns? Does<br>&gt; anyone extend the GiST operator classes with specific support for
<br>&gt; temporal data?<br>&gt;<br>&gt; Thank you for helping.<br>&gt;<br>&gt; Best regards,<br>&gt; -Elena<br>&gt;<br>&gt;<br>&gt; ------------------------------------------------------------------------<br>&gt;<br>&gt; _______________________________________________
<br>&gt; postgis-devel mailing list<br>&gt; <a href="mailto:postgis-devel@postgis.refractions.net">postgis-devel@postgis.refractions.net</a><br>&gt; <a href="http://postgis.refractions.net/mailman/listinfo/postgis-devel">
http://postgis.refractions.net/mailman/listinfo/postgis-devel</a><br><br>_______________________________________________<br>postgis-devel mailing list<br><a href="mailto:postgis-devel@postgis.refractions.net">postgis-devel@postgis.refractions.net
</a><br><a href="http://postgis.refractions.net/mailman/listinfo/postgis-devel">http://postgis.refractions.net/mailman/listinfo/postgis-devel</a><br></blockquote></div><br>