摘要:
1 引言 近期系统常常提示一个sql查询时间过长的问题,看了一下就是一个每天依照时间戳统计前一天量的sql。 表总的数据量为53483065。 语句例如以下: select count(x.serial_id) as countnum from iodso.qos_cnst_busilog_td x 阅读全文
posted @ 2017-04-22 21:15
yangykaifa
阅读(885)
评论(0)
推荐(0)
摘要:
在ECMAScript语言中,函数名字仅仅只是是一个指针(能够觉得是引用),以下的代码: "use strict"; function sum(a,b){ return a+b; } console.log(sum(1,2)); var sum2 = sum; sum = null; console 阅读全文
posted @ 2017-04-22 20:42
yangykaifa
阅读(181)
评论(0)
推荐(0)
摘要:
把"Contact all update sites during install to find required software"前面的勾去掉,然后点击下一步,这样之后问题迎刃而解了。 把"Contact all update sites during install to find requ 阅读全文
posted @ 2017-04-22 20:02
yangykaifa
阅读(247)
评论(0)
推荐(0)
摘要:
/************************************************************************* > File Name: singleLineTable.c > Author: zshh0604 > Mail: zshh0604@.com > C 阅读全文
posted @ 2017-04-22 19:02
yangykaifa
阅读(422)
评论(0)
推荐(0)
摘要:
题目描写叙述 统计一个数字在排序数组中出现的次数。 解题思路 数组是排序的,所以反复出现的数字是相邻排列的。 用二分查找算法,找到第一次出现的位置。和 最后一次出现的位置。 推断第一次出现的位置条件为:当前数字的前一个是否与之相等。若是则继续查找,否则该位置就是第一次出现的位置。 推断最后一次出现的 阅读全文
posted @ 2017-04-22 18:55
yangykaifa
阅读(145)
评论(0)
推荐(0)
摘要:
oracle 12c 安装 checklist 关闭 iptables NetworkManager selinux service iptables stop chkconfig iptables off service NetworkManager stop chkconfig NetworkM 阅读全文
posted @ 2017-04-22 18:01
yangykaifa
阅读(297)
评论(0)
推荐(0)
摘要:
对于 Oracle 的 rownum 问题,非常多资料都说不支持>。>=。=。between...and,仅仅能用以上符号(<、<=、!=),并不是说用>, >=,=,between..and 时会提示SQL语法错误。而是常常是查不出一条记录来。还会出现似乎是莫名其妙的结果来,接下来看一下rownu 阅读全文
posted @ 2017-04-22 17:20
yangykaifa
阅读(212)
评论(0)
推荐(0)
摘要:
定时备份数据库 /usr/sbin/backupmysql timestamp=`date +"%Y-%m-%d-%H-%M-%S"` mysqldump -uroot -p'123456 databasename>/db$timestamp.sql chmod +x backupmysql 安装c 阅读全文
posted @ 2017-04-22 16:28
yangykaifa
阅读(160)
评论(0)
推荐(0)
摘要:
性能优化 在大数据量遍历时(比如查找消息敏感词),须要手动使用clear方法释放缓存中的数据,防止缓存中数据过多浪费内存。1+N问题:将Fetch设为LAZY能够在须要时才发出sql语句,或者设置BatchSize指定一条sql语句查询多个对象。list方法会把全部对象都取出,而iterate方法会 阅读全文
posted @ 2017-04-22 15:34
yangykaifa
阅读(168)
评论(0)
推荐(0)
摘要:
Geostatistical Analyst 满足多种不同应用的需求。下面是 Geostatistical Analyst 的一小部分应用演示样例。 探索性空间数据分析 Geostatistical Analyst 用于使用研究区中已測量的採样点为同一区域内其它未測量位置创建准确预測。Geostat 阅读全文
posted @ 2017-04-22 14:30
yangykaifa
阅读(2519)
评论(0)
推荐(0)

浙公网安备 33010602011771号