首页|PostgreSQL实现的管网网络分析方法研究

PostgreSQL实现的管网网络分析方法研究

扫码查看
针对传统空间管网网络分析基于后端开发模式,其数据在数据库与后端服务流转导致的分析性能低下问题,本文提出了基于开源PostgreSQL数据库存储过程函数实现管网网络分析的方法.该方法函数与数据库高度集成,SQL查询即为分析结果,管网网络分析的性能显著提升.另外,本文还采用数据库存储过程方式实现了djkstra函数、自定义函数和递归函数3种管网网络分析方法,并给出了3种方法的优缺点和使用场景,便于用户结合实际应用灵活选择.
Research on methods of pipe network analysis implemented by PostgreSQL
For the problem that the traditional spatial pipe network analysis is based on the back-end de-velopment mode,and the data flow between the database and the back-end services leads to poor effi-ciency,this paper proposes a method to realize the pipe network analysis based on the open-source Post-greSQL database stored procedure function.The method function is highly integrated with the database,and the SQL query is the analyzing results,so the efficiency of the pipe network analyzing is signifi-cantly improved.Three kinds of pipe network analyzing methods,namely djkstra function,user-defined function and recursive function,are implemented in the way of database stored procedure in this paper,and the advantages and disadvantages of the three methods and their use scenarios are given,so that users can easilly choose any one in accordance with practical applications.

pipe networknetwork analysisPostgreSQLprocess function

赵雅鹏、江彬、樊伟平、齐迹

展开 >

中煤(西安)地下空间科技发展有限公司,陕西西安 710054

管网 网络分析 PostgreSQL 过程函数

2024

测绘技术装备
国家测绘局测绘标准化研究所 全国测绘科技信息网

测绘技术装备

影响因子:0.379
ISSN:1674-4950
年,卷(期):2024.26(3)