Changes between Version 3 and Version 4 of Parcours source RHT
- Timestamp:
- Oct 25, 2011 10:33:22 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Parcours source RHT
v3 v4 6 6 -- script de calcul des distances sources 7 7 set search_path to rht,public; 8 select cast(ltree2text(subltree(chemin,0,1)) as integer) from rht_topology 8 select cast(ltree2text(subltree(chemin,0,1)) as integer) from rht_topology limit 10 9 9 /* 10 10 AJOUT D'UN INDEX … … 13 13 GiST index over ltree: <, <=, =, >=, >, @>, <@, @, ~, ? 14 14 */ 15 CREATE INDEX chemin_btee_index ON rht.rht_topology USING btree(chemin); --27688 ms 16 VACUUM ANALYSE rht.rht_topology; 15 17 CREATE INDEX chemin_gist_index ON rht.rht_topology USING GIST (chemin); -- fait planter mon serveur.... 18 SELECT chemin from rht.rht_topology where chemin <@ '212340'; -- tronçon source de la Vilaine -- 2360 16 19 }}}