随笔分类 -  杂项

摘要:select * from pg_catalog.pg_stat_activity where usename ='gis_bd_app' and wait_event_type = 'Lock'; select * from pg_locks where relation= (select oid 阅读全文
posted @ 2022-07-07 21:01 微笑带你去 阅读(162) 评论(0) 推荐(0) 编辑
摘要:​ jdk 自带工具 1、通过top找到CPU占用率高的进程 2、通过top -Hp pid命令查看CPU占比靠前的线程ID 3、再把线程ID转化为16进制,printf “0x%x\n” 74317,得到0x1224d 4、通过命令jstack 72700 | grep ‘0x1224d’ -C5 阅读全文
posted @ 2022-01-06 16:25 微笑带你去 阅读(55) 评论(0) 推荐(0) 编辑
摘要:PostGIS 操作 geometry 方法 gemo 转 wkt select st_astext(geom) from geo_collection; 获得区域范围 select st_xmin(geom), st_ymin(geom), st_xmax(geom), st_ymax(geom) 阅读全文
posted @ 2021-11-25 15:08 微笑带你去 阅读(1185) 评论(0) 推荐(0) 编辑
摘要:import com.ai.frame.config.FtpConfig; import com.ai.frame.config.SftpConfig; import com.jcraft.jsch.ChannelSftp; import com.jcraft.jsch.JSch; import c 阅读全文
posted @ 2021-11-23 15:54 微笑带你去 阅读(384) 评论(0) 推荐(0) 编辑
摘要:<?xml version="1.0" encoding="UTF-8"?> <StyledLayerDescriptor version="1.0.0" xsi:schemaLocation="http://www.opengis.net/sld StyledLayerDescriptor.xsd 阅读全文
posted @ 2021-11-19 10:44 微笑带你去 阅读(222) 评论(0) 推荐(0) 编辑
摘要:#1. 由来 在计算机还没有出现之前,有一种叫做电传打字机(Teletype Model 33)的机械打字机,每秒钟可以打10个字符。 但是它有一个问题,就是打完一行换行的时候,要用去0.2秒,正好可以打两个字符。要是在这0.2秒里面,又有新的字符传过来,那么这个字符将丢失。 于是,研制人员想了个办 阅读全文
posted @ 2021-11-09 20:20 微笑带你去 阅读(378) 评论(0) 推荐(0) 编辑
摘要:#基础测试 package com.ai; import com.ai.test.daily.Student; import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.TypeReference; import com.alibab 阅读全文
posted @ 2021-11-08 20:37 微笑带你去 阅读(157) 评论(0) 推荐(0) 编辑
摘要:##1. 首先进行查询,判断数据是否已经建立相应的空间元数据 select * from user_sdo_geom_metadata t where t.table_name like '%表名%'; select * from user_ind_columns t where t.index_n 阅读全文
posted @ 2021-11-05 11:39 微笑带你去 阅读(380) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示