摘要:
freefree 命令相对于top 提供了更简洁的查看系统内存使用情况: # free total used free shared buffers cached Mem: 255988 231704 24284 0 6432 139292 -/+ buffers/cache: 85980 1700 阅读全文
posted @ 2017-05-26 13:45
一杯铁观音
阅读(333)
评论(0)
推荐(0)
摘要:
linux buffer 与 cache 的区别。A buffer is something that has yet to be "written" to disk.A cache is something that has been "read" from the disk and stored 阅读全文
posted @ 2017-05-26 13:43
一杯铁观音
阅读(341)
评论(0)
推荐(0)
摘要:
Round函数用法: 截取数字 格式如下:ROUND(number[,decimals])其中:number 待做截取处理的数值decimals 指明需保留小数点后面的位数。可选项,忽略它则截去所有的小数部分,并四舍五入。如果为负数则表示从小数点开始左边的位数,相应整数数字用0填充,小数被去掉。需要 阅读全文
posted @ 2017-05-26 11:22
一杯铁观音
阅读(948)
评论(0)
推荐(0)
摘要:
今日:V_TYPES = 1 昨日:V_TYPES = 2 一周:V_TYPES = 3 //注释里的数字根据实际情况,之前的数字 create or replace PROCEDURE "PD_TEST_YANJING2" (V_TYPES in varchar2, cursor_a out sy 阅读全文
posted @ 2017-05-26 11:11
一杯铁观音
阅读(160)
评论(0)
推荐(0)
摘要:
一、oracle trunc()函数的用法TRUNC(for dates)精确到天 select trunc(sysdate,'dd') from dual 结果为:2010-9-17精确到月 select trunc(sysdate,'mm') from dual 结果为:2010-9-1精确到年 阅读全文
posted @ 2017-05-26 11:07
一杯铁观音
阅读(2166)
评论(0)
推荐(1)
摘要:
来自:http://oracle.chinaitlab.com/exploiture/798048.html 本来这是很简单的函数,但在屡次忘记格式之后,决定还是翻译一遍以铭记在心。 参考<<Oracle Database SQL Reference>>. 关于nls可有取值,请注意视图sys.V_ 阅读全文
posted @ 2017-05-26 10:40
一杯铁观音
阅读(953)
评论(0)
推荐(0)
浙公网安备 33010602011771号