摘要: 1、GEO_Point 经纬度查询:圆形、矩形、多边形方式 geoDistanceRangeQuery 圆形查询 geoBoundingBoxQuery 矩形查询 geoPolygonQuery 多边形查询 2、创建mapping 参考:https://blog.csdn.net/wuzhiwei5 阅读全文
posted @ 2023-06-26 15:01 古语云 阅读(296) 评论(0) 推荐(0) 编辑
摘要: 1、MySQL的慢查询、explain、show profile及SQL优化 https://www.cnblogs.com/linyue09/p/9869163.html 2、MySQL优化 1、查看 profile 开启情况 select @@profiling; 开启profile:set p 阅读全文
posted @ 2023-06-26 14:57 古语云 阅读(20) 评论(0) 推荐(0) 编辑
摘要: 1、编写配置文件 application.yml spring: datasource: primary: driver-class-name: org.postgresql.Driver url: jdbc:postgresql://ip:5432/iotdata username: postgr 阅读全文
posted @ 2023-06-26 14:47 古语云 阅读(1063) 评论(0) 推荐(0) 编辑