• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






simplelil

 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | 订阅 订阅 | 管理

2016年7月6日

ORACLE CACHE BUFFER CHAINS原理
摘要: 原理图如下: 一个cache buffer chains 管理多个hash bucket,受隐含参数:_db_block_hash_buckets(控制管理几个hash bucket) 阅读全文
posted @ 2016-07-06 14:59 simplelil 阅读(308) 评论(0) 推荐(0)
 
oracle 当月日历的sql
摘要: select max(sun) sun, max(mon) mon, max(tue) tue, max(wed) wed, max(thu) thu, max(fri) fri, max(sat) sat from (select decode(d, 1, dd) sun, d... 阅读全文
posted @ 2016-07-06 11:49 simplelil 阅读(321) 评论(0) 推荐(0)
 
oracle to_char处理日期
摘要: select to_char(sysdate,'d') from dual;--本周第几天 select to_char(sysdate,'dd') from dual;--本月第几天 select to_char(sysdate, 'w') from dual;--本月第几周 select to_char(sysdate+1, 'iw') from dual;--按星期一开始为一周 阅读全文
posted @ 2016-07-06 11:33 simplelil 阅读(2496) 评论(0) 推荐(0)