Changes between Version 1 and Version 2 of Parcours source RHT
- Timestamp:
- Oct 25, 2011 10:18:51 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Parcours source RHT
v1 v2 1 1 back to first page[..][[BR]] 2 2 back to ["RHT"][[BR]] 3 4 {{{ 5 #!sql 6 -- script de calcul des distances sources 7 set search_path to rht,public; 8 select cast(ltree2text(subltree(chemin,0,1)) as integer) from rht_topology 9 /* 10 AJOUT D'UN INDEX 11 ltree supports several types of indexes that can speed up the indicated operators: 12 B-tree index over ltree: <, <=, =, >=, > 13 GiST index over ltree: <, <=, =, >=, >, @>, <@, @, ~, ? 14 */ 15 CREATE INDEX chemin_gist_index ON rht_topology USING GIST (chemin); 16 }}}