随笔分类 - 杂项
摘要: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
阅读全文
摘要: 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
阅读全文
摘要:PostGIS 操作 geometry 方法 gemo 转 wkt select st_astext(geom) from geo_collection; 获得区域范围 select st_xmin(geom), st_ymin(geom), st_xmax(geom), st_ymax(geom)
阅读全文
摘要:import com.ai.frame.config.FtpConfig; import com.ai.frame.config.SftpConfig; import com.jcraft.jsch.ChannelSftp; import com.jcraft.jsch.JSch; import c
阅读全文
摘要:<?xml version="1.0" encoding="UTF-8"?> <StyledLayerDescriptor version="1.0.0" xsi:schemaLocation="http://www.opengis.net/sld StyledLayerDescriptor.xsd
阅读全文
摘要:#1. 由来 在计算机还没有出现之前,有一种叫做电传打字机(Teletype Model 33)的机械打字机,每秒钟可以打10个字符。 但是它有一个问题,就是打完一行换行的时候,要用去0.2秒,正好可以打两个字符。要是在这0.2秒里面,又有新的字符传过来,那么这个字符将丢失。 于是,研制人员想了个办
阅读全文
摘要:#基础测试 package com.ai; import com.ai.test.daily.Student; import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.TypeReference; import com.alibab
阅读全文
摘要:##1. 首先进行查询,判断数据是否已经建立相应的空间元数据 select * from user_sdo_geom_metadata t where t.table_name like '%表名%'; select * from user_ind_columns t where t.index_n
阅读全文