摘要: 反向代理:proxy和server在一个LAN里面 比如:纳税人访问社保,完成社保费缴纳 正向代理:client和proxy在一个LAN里面 比如:社保访问银行,把待缴费数据传递给银行由银行完成扣款。 阅读全文
posted @ 2022-03-05 10:42 shiyunyier 阅读(29) 评论(0) 推荐(0)
摘要: Ng日志格式 log_format access '[$remote_addr] [$remote_port] [$remote_user] [$http_cookie] [$time_local] [$request] [$http_host]' '[$request_method] [$http 阅读全文
posted @ 2022-03-02 12:33 shiyunyier 阅读(375) 评论(0) 推荐(0)
摘要: import requests, csv url = "http://www.xinfadi.com.cn/getPriceData.html" headers = { "User-Agent": "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebK 阅读全文
posted @ 2022-02-27 21:49 shiyunyier 阅读(81) 评论(0) 推荐(0)
摘要: import requests, csv,time from concurrent.futures import ThreadPoolExecutor f = open("data.csv", mode="w", encoding="utf-8") csvwriter = csv.writer(f) 阅读全文
posted @ 2022-02-27 21:37 shiyunyier 阅读(121) 评论(0) 推荐(0)
摘要: SQL语句分为五类:1.SELECT语句(SELECT)2.DML语句(UPDATE,DELETE,INSERT)3.DDL语句(CREATE DROP ALTER)4.DCL语句(GRANT REVOKE)5.TCL语句(COMMIT ROLLBACK) 这里需要强调的是SELECT语句并不属于D 阅读全文
posted @ 2021-10-10 12:54 shiyunyier 阅读(194) 评论(0) 推荐(0)
摘要: ip-hash的算法 for (;;) { for (i = 0; i < 3; i++) { hash = (hash * 113 + iphp->addr[i]) % 6271; //iphp->addr[i]为ip的点分十进制法的第i段 } p = hash % iphp->rrp.peers 阅读全文
posted @ 2021-05-17 14:45 shiyunyier 阅读(1067) 评论(0) 推荐(0)
摘要: 1、创建新的表空间(最好设置成自动扩展) create undo tablespace undo_new datafile '/u01/oracle/oradata/yscsfhx/newundotbs01.dbf' size 5m; View Code 2、切换到新的Undo表空间上 alter 阅读全文
posted @ 2021-02-12 23:12 shiyunyier 阅读(204) 评论(0) 推荐(0)
摘要: 1、查询undo表空间信息 Select a.tablespace_name, to_char(a.bytes / 1024 / 1024 / 1024, '99,999.999') total_bytes, to_char(b.bytes / 1024 / 1024 / 1024, '99,999 阅读全文
posted @ 2021-02-12 22:39 shiyunyier 阅读(99) 评论(0) 推荐(0)
摘要: 问题:大批量数据插入,生成大量的undo日志。由于数据库性能问题,导致无法一次性提交成功。 解决思路: 通过loop 进行分批插入 1、创建中间表 -- Create table create table INSERT_STATS ( table_name VARCHAR2(20), data NU 阅读全文
posted @ 2021-02-12 21:26 shiyunyier 阅读(1148) 评论(0) 推荐(0)
摘要: 生活是一种体验,有成功、有失败、有喜悦、有悲伤、有失望 因为自己,或者是因为别人 如何看待和面对 需要智慧,也需要勇气 很多时候,我们手无举措,气愤异常 像是,代码在运行过程中。面对莫名其妙的输入,报错了 阅读全文
posted @ 2020-12-06 21:19 shiyunyier 阅读(14) 评论(0) 推荐(0)