摘要: 拿到网页请求的url 静态网页:用requests库 动态网页selenium库去模拟访问获取html内容html的解析可以用re库去正则表达式硬提取也可以用beautifulsoup库去精确定位dom元素然后提取 阅读全文
posted @ 2025-08-03 16:51 捡捡捡 阅读(19) 评论(0) 推荐(0)
摘要: 今天在生产环境查询了做了一次关联查询 select * from table1 a where exists (select 1 from table2 b where (b.id = 1 or no = 1 ) and a.uuid = b.uuid) select 1 from table2 b 阅读全文
posted @ 2025-07-31 00:12 捡捡捡 阅读(28) 评论(0) 推荐(0)
摘要: 一、大量数据执行DML操作基本上只能使用分批提交方式, 直接update table_name set column_name =? where column_name =? 会让数据库temp表空间极高的占用(有人执行过直接update,导致500Gtemp表空间使用完毕都没有执行完)。 记录一个 阅读全文
posted @ 2025-07-22 21:40 捡捡捡 阅读(81) 评论(0) 推荐(0)