postgresql和oracle创建空间索引

注意事项:必须索引列必须用图层格式

postgresql-geometry,oracle-SDO_GEOMETRY

postgresql:

CREATE INDEX tl1_shap
  ON tl1
  USING gist
  (shapedata );

 oracle:

-- Create/Recreate indexes 
create index tl_shap on TL913 (shapedata);

postgresql手动添加方法:看附件

猜你喜欢

转载自guoranaccp.iteye.com/blog/2093673