05 2018 档案

oracle latch工作原理
摘要:latch是一种轻量级用于保护oracle共享内存结构,用户并发操作一致性的串行化锁定机制,如SGA中,各种数据被反复从磁盘读取到内存,又被重新写回到磁盘上,如果有并发用户做相同的事情,oracle必须使用一种机制来保证数据在读取的时候,只能由一个会话来完成,这就是latch,latch 不会造成阻 阅读全文

posted @ 2018-05-29 16:52 djq002 阅读(211) 评论(0) 推荐(0)

oracle 序列中cache 有什么用途
摘要:create sequence name increment by x //x为增长间隔 start with x //x为初始值 maxvalue x //x为最大值 minvalue x //x为最小值 cycle //循环使用,到达最大值或者最小值时,从新建立对象 cache x //制定存入 阅读全文

posted @ 2018-05-29 15:46 djq002 阅读(374) 评论(0) 推荐(0)

oracle查看当前用户权限
摘要:--查看用户和默认表空间的关系 select username,default_tablespace from dba_users; --查看当前用户能访问的表 select * from user_tables; --Oracle查询用户表 select * from user_all_tables; --Oracle查询用户视图 select * from user_views; --查... 阅读全文

posted @ 2018-05-08 09:44 djq002 阅读(2192) 评论(0) 推荐(0)

导航