postgresql和oracle创建空间索引

前端之家收集整理的这篇文章主要介绍了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手动添加方法:看附件

原文链接:https://www.f2er.com/postgresql/195656.html

猜你在找的Postgre SQL相关文章