上一页 1 2 3 4 5 6 7 ··· 70 下一页
摘要: 1. ANALYZE — collect statistics about a database # PostgreSQL: Documentation: 15: ANALYZE 30 18 * * 1-5 /home/pg_statistics.sh [root@iZwz9ahkm8c1vnw9g 阅读全文
posted @ 2023-01-30 22:07 littlevigra 阅读(60) 评论(1) 推荐(0) 编辑
摘要: rpm -q --whatrequires mlocate yum remove mlocatelinux - Can I just disable updatedb? - Unix & Linux Stack Exchange 阅读全文
posted @ 2023-01-17 11:53 littlevigra 阅读(83) 评论(0) 推荐(0) 编辑
摘要: 1. 10分钟为粒度分组 SELECT concat(left(date_format(create_time, '%Y-%m-%d %H:%i'),15),'0') AS groupTime, count(*) FROM ai_t_task WHERE create_time BETWEEN '2 阅读全文
posted @ 2023-01-16 23:47 littlevigra 阅读(196) 评论(0) 推荐(0) 编辑
摘要: 1. 打印数据长度大于0的数据包 To print all IPv4 HTTP packets to and from port 80, i.e. print only packets that contain data, not, for example, SYN and FIN packets 阅读全文
posted @ 2023-01-08 00:17 littlevigra 阅读(48) 评论(0) 推荐(0) 编辑
摘要: 参考:MySQL 案例:Delete 删数据后磁盘空间未释放 - 腾讯云开发者社区-腾讯云 (tencent.com) 1. 查看有多少为回收的空间 select * from information_schema.tables where TABLE_NAME ='ai_t_placedetect 阅读全文
posted @ 2022-12-18 22:44 littlevigra 阅读(89) 评论(1) 推荐(0) 编辑
摘要: 1. MySQL查看剩余空间 select table_name, round(data_length/1024/1024) as data_length_mb, round(data_free/1024/1024) as data_free_mb from information_schema.t 阅读全文
posted @ 2022-12-16 15:54 littlevigra 阅读(26) 评论(0) 推荐(0) 编辑
摘要: jvm 参数 JAVA_OPTIONS="-Xmx30720m -Xms2048m -XX:+HeapDumpOnOutOfMemoryError " 内存溢出 参数 [C:\Users\linux\Downloads\CrashAnalysis-master]$ java -jar CrashAn 阅读全文
posted @ 2022-12-07 11:39 littlevigra 阅读(94) 评论(2) 推荐(0) 编辑
摘要: #解决方案 把 …\anaconda3\Library\bin 加入到系统环境变量即可。总是提示SSL有问题,然而只是SSL就在bin里边,所以没有生效。主要参考:https://github.com/conda/conda/issues/6064感谢github,中文的社区都搜遍了了,全是linu 阅读全文
posted @ 2022-11-30 00:22 littlevigra 阅读(1078) 评论(0) 推荐(0) 编辑
摘要: SELECT employee_id, first_name, last_name, salary FROM employees ORDER BY salary DESC LIMIT 1 OFFSET 1; 总结,使用 limit 字句可以限制sql查询的返回数据行数,也可以通过offeset 来先 阅读全文
posted @ 2022-11-16 00:24 littlevigra 阅读(14) 评论(0) 推荐(0) 编辑
摘要: 1. 选择除了其中一行的所有行 import pandas as pd import numpy as np df = pd.DataFrame(np.random.rand(8,4),columns=['a','b','c','d']) df df.loc[:,df.columns !='d'] 阅读全文
posted @ 2022-11-15 20:46 littlevigra 阅读(538) 评论(1) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 70 下一页