Changes between Version 3 and Version 4 of Parcours source RHT


Ignore:
Timestamp:
Oct 25, 2011 10:33:22 PM (14 years ago)
Author:
cedric
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Parcours source RHT

    v3 v4  
    66-- script de calcul des distances sources 
    77set search_path to rht,public; 
    8 select cast(ltree2text(subltree(chemin,0,1)) as integer) from rht_topology  
     8select cast(ltree2text(subltree(chemin,0,1)) as integer) from rht_topology limit 10 
    99/* 
    1010AJOUT D'UN INDEX 
     
    1313    GiST index over ltree: <, <=, =, >=, >, @>, <@, @, ~, ?  
    1414*/ 
     15CREATE INDEX chemin_btee_index ON rht.rht_topology USING btree(chemin); --27688 ms 
     16VACUUM ANALYSE rht.rht_topology; 
    1517CREATE INDEX chemin_gist_index ON rht.rht_topology USING GIST (chemin); -- fait planter mon serveur.... 
     18SELECT chemin from rht.rht_topology where chemin <@ '212340'; -- tronçon source de la Vilaine -- 2360 
    1619}}}