上一页 1 ··· 86 87 88 89 90 91 92 93 94 ··· 203 下一页
摘要: import os import re pattern=re.compile(r'(\d{4})-(\d{2})-(\d{2})-b(\d{3})') // 要匹配的目录格式 for root,dirs,files in os.walk(r"/home/os-hy01"): for dir in d 阅读全文
posted @ 2020-03-16 15:07 逆火狂飙 阅读(1762) 评论(0) 推荐(0)
摘要: import os for root,dirs,files in os.walk(r"/home/os-hy01"): for dir in dirs: print(dir) --2020-03-16-- 阅读全文
posted @ 2020-03-16 14:54 逆火狂飙 阅读(455) 评论(0) 推荐(0)
摘要: import os os.mkdir("2018-03-16-b018") os.mkdir("2019-03-16-b019") os.mkdir("2020-03-16-b020") --2020-03-16-- 阅读全文
posted @ 2020-03-16 14:40 逆火狂飙 阅读(1233) 评论(0) 推荐(0)
摘要: https://files.cnblogs.com/files/xiandedanteng/%E7%94%B0%E8%8B%B1%E7%AB%A0%E6%A5%B7%E4%B9%A6.rar 示例: 阅读全文
posted @ 2020-03-15 19:03 逆火狂飙 阅读(941) 评论(0) 推荐(0)
摘要: 从一月至今,我总共归纳了三种创建千万级大表的方案,它们是: 下面是这三种方案的对比表格: # 名称 地址 主要机制 速度 1 在Oracle中十分钟内创建一张千万级别的表 https://www.cnblogs.com/heyang78/p/12169527.html connect by+Inse 阅读全文
posted @ 2020-03-15 13:37 逆火狂飙 阅读(1029) 评论(2) 推荐(0)
摘要: 本文精简版:https://www.cnblogs.com/heyang78/p/15239683.html 昨天拙文中讲述了用自增方式创建一千六百万大表的方案,这回讨论的是用笛卡儿积,实践证明这种方案更快. 2020年3月15日08点58分实验开始 创建仅有四千数据的tb_4thousand1表: 阅读全文
posted @ 2020-03-15 09:34 逆火狂飙 阅读(500) 评论(1) 推荐(0)
摘要: 在拙文 https://www.cnblogs.com/xiandedanteng/p/12327809.html 中,我提到过求学生单科最新成绩的四种sql语句,它们是下面四种: --Rank-- select * from (select tb_scoreflow.*,rank() over(p 阅读全文
posted @ 2020-03-15 08:36 逆火狂飙 阅读(204) 评论(0) 推荐(0)
摘要: 2020年3月14日19点16分开始 创建两百万中间表: SQL> CREATE TABLE tb_2million 2 ( 3 id NUMBER not null primary key, 4 name NVARCHAR2(60) not null, 5 salary int NOT NULL, 阅读全文
posted @ 2020-03-14 20:11 逆火狂飙 阅读(210) 评论(0) 推荐(0)
摘要: package lambda; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.stream.Collectors; public class FirstTouc 阅读全文
posted @ 2020-03-13 08:55 逆火狂飙 阅读(148) 评论(0) 推荐(0)
摘要: local variables referenced from a Lambda expression must be final or effectively final. Lambda表达式中引用的本地变量必须是final或是事实上是final的。 阅读全文
posted @ 2020-03-13 08:34 逆火狂飙 阅读(129) 评论(0) 推荐(0)
上一页 1 ··· 86 87 88 89 90 91 92 93 94 ··· 203 下一页
生当作人杰 死亦为鬼雄 至今思项羽 不肯过江东