上一页 1 2 3 4 5 6 ··· 19 下一页
摘要: 记录一下,具体为什么再研究 阅读全文
posted @ 2019-08-15 01:10 张不正 阅读(604) 评论(0) 推荐(1) 编辑
摘要: uwsgi --http :8000 --wsgi-file wxhttpapi2.py --callable application --processes 4 --threads 2 阅读全文
posted @ 2019-07-17 17:02 张不正 阅读(1696) 评论(0) 推荐(0) 编辑
摘要: 随着火狐的不断更新已经更新到66版本了,近期注意到有个问题是火狐经常提示更新,更新了没多久,又时不时跳出更新的提示,不胜其烦。 在火狐的前期的版本中(大概4年之前吧)在Options菜单里是可以设置从不检查更新的,但我现在去找这个选项,却没了,要不就是直接自动安装更新,要不就是检查更新。 通过在网上 阅读全文
posted @ 2019-06-11 23:28 张不正 阅读(492) 评论(0) 推荐(0) 编辑
摘要: pmod(floor((unix_timestamp('2019-06-11 00:00:00')-unix_timestamp('1970-01-05 00:00:00'))/(3600*24)),7)+1 以上 阅读全文
posted @ 2019-06-11 16:07 张不正 阅读(3507) 评论(0) 推荐(0) 编辑
摘要: 计算两个日期之间的天数(去掉周六周日):设开始日期为a,结束日期为b,(a、b均trunc到天,即去掉时分秒)开始日期所在天是周几,用wa表示。结束日期所在天是周几,用wb表示。现计算a-b之间跨过了多少个工作日(即去掉周六周日),以下为各种情况的计算公式:左开右开区间:(b-a+wa+7-wb)/ 阅读全文
posted @ 2019-06-11 15:17 张不正 阅读(1993) 评论(0) 推荐(0) 编辑
摘要: set mapreduce.job.queuename=root.sc;set hive.exec.dynamic.partition=true;set hive.exec.dynamic.partition.mode=nonstrict;set hive.exec.compress.output= 阅读全文
posted @ 2019-05-24 19:00 张不正 阅读(507) 评论(0) 推荐(0) 编辑
摘要: 此SQL来自网络,地址见具体内容。介绍表空间回收原理的文章参考此链接: https://oracle-base.com/articles/misc/reclaiming-unused-space#shrink 以上。 阅读全文
posted @ 2019-05-21 09:18 张不正 阅读(313) 评论(0) 推荐(0) 编辑
摘要: 可以使用如下sql: select 'bgdrac' database,t11.username,t11.default_tablespace tablespace_name,segment_size_in_GB,datafile_size_in_gb,tablespace_free_size_in 阅读全文
posted @ 2019-05-15 09:08 张不正 阅读(643) 评论(0) 推荐(0) 编辑
摘要: 可以使用以下语句查询是哪个session number的哪个sql占用了较大的临时表空间 select inst_id,username,session_num,sql_id,tablespace,segtype,sum(blocks)*8/1024/1024 size_in_gb from gV$ 阅读全文
posted @ 2019-04-29 09:33 张不正 阅读(1536) 评论(0) 推荐(0) 编辑
摘要: 之前对github的使用,形成了两种观点。就是有两种url的模式,一种是http或https的,另一种是git专属的。然后git专属的url方式可以配置公钥认证,http(s)的则需要输入密码。 近期公司团队搭建了gitlab,因为服务器的22端口被封锁的原因,git专属的url模式出现了超时的问题 阅读全文
posted @ 2019-04-10 12:17 张不正 阅读(816) 评论(0) 推荐(0) 编辑
摘要: Click the menu button , click Help and select Troubleshooting Information. The Troubleshooting Information tab will open. Under the Application Basics 阅读全文
posted @ 2019-03-31 16:45 张不正 阅读(134) 评论(0) 推荐(0) 编辑
摘要: 可以参考以下语句: select hextoraw(rawtohex('你好')) from dualselect utl_raw.cast_to_varchar2(hextoraw('E4BDA0E5A5BD')) from dual 以上。 阅读全文
posted @ 2019-03-08 10:18 张不正 阅读(1819) 评论(0) 推荐(0) 编辑
摘要: :set mouse=n 阅读全文
posted @ 2019-03-03 15:11 张不正 阅读(183) 评论(0) 推荐(0) 编辑
摘要: 可以使用如下的方式: 解决方案来自:https://stackoverflow.com/questions/18096740/use-of-single-quote-and-double-single-quote-in-pl-sql-block 以上 阅读全文
posted @ 2019-02-18 13:28 张不正 阅读(191) 评论(0) 推荐(0) 编辑
摘要: SQL语句参考以下: select owner,segment_name,segment_type,tablespace_name,sum(bytes)/1024/1024/1024 from dba_segments where tablespace_name='TBS_LDHB' group b 阅读全文
posted @ 2019-02-14 17:24 张不正 阅读(1413) 评论(0) 推荐(0) 编辑
摘要: 以下给出两个示例,详细内容需要查阅手册: exp system OWNER=ZLTX FILE=ZLTX20190123.DMP expdp system DUMPFILE=ZLTX20190123.EXPDPDMP SCHEMAS=ZLTX 阅读全文
posted @ 2019-01-30 13:08 张不正 阅读(215) 评论(0) 推荐(0) 编辑
摘要: 1.利用文件来模拟块设备 在grid的安装教程中有一步是 provision the disk devices for use with ASM Filter Driver。但是如果我们没有多个磁盘怎么办,这时可以这样, 先dd出几个文件,例如: dd bs=30M count=1024 if=/d 阅读全文
posted @ 2018-12-23 23:02 张不正 阅读(801) 评论(0) 推荐(0) 编辑
摘要: 在Create Task 窗口的General选项卡中,在Security options 里有几个单选项,分别是 Run only when user is logged on ,Run whether user is logged on or not。 当选择 Run whether user 阅读全文
posted @ 2018-12-06 13:29 张不正 阅读(2619) 评论(0) 推荐(0) 编辑
摘要: 1.查出当前使用的是哪个resource plan select * from GV$RSRC_PLAN 2.创建pending area begin dbms_resource_manager.create_pending_area;end; 3.创建consumer group BEGIN DB 阅读全文
posted @ 2018-12-03 13:18 张不正 阅读(337) 评论(0) 推荐(0) 编辑
摘要: INFO: : cannot find INFO: /usr/lib64/libpthread_nonshared.aINFO: INFO: genclntsh: Failed to link libclntshcore.so.12.1 导致这个问题的原因是glibc升级到2.28版本之后就不提供/ 阅读全文
posted @ 2018-12-01 23:35 张不正 阅读(1467) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 19 下一页
返回顶部