欢迎访问 toke_night 的个人空间

收藏帖

  • statspack报告

    2008-01-22 23:44:47   /   Oracle数据库管理

    大家帮忙看一个spreport.
  • 我的TOP 5,有点奇怪,不知道为什么CPU TIME最高

    2008-01-02 13:45:15   /   Oracle数据库管理

    statspack里的top 5 timed events怎么看时间?Top 5 Timed Events~~~~~~~~~~~~~~~~~~% TotalEventWaitsTime (s) Ela Time-------------------------------------------- ------------ ----------- --------CPU time15,32764.20db file sequential read5,324,5644,80220.12log file sync
  • 请问,session cursor cache 在哪?pga还是shared pool里?还是??

    2007-12-05 09:24:54   /   Oracle专题深入讨论

    Cached cursorsThe initialization parameter session_cached_cursors specifies how many cursors are held open for a session. Such cached cursors are stored in the session cursor cache. If a new cursor needs to me moved into the session cursor cache, the cursor that hasn't been used for the longest time will be removed from the session cursor cache. The higher the value of session_cached_cursors is set to a high value, the more the shared pool might become fragmented.看文档好像是shared pool
  • 我对ORACLE数据锁的一点体会

    2004-09-24 17:54:27   /   Oracle专题深入讨论

    该贴的部分内容是针对帖中带的附件(一位大侠关于锁的理解),提的理解/疑问,大家在读此贴前,请先阅读该文。先说说各类型的锁:共享锁,排它说,共享排它锁(对表定义共享,对表操作的记录排它)。1、我对文章中意向锁的理解,就是:对表的记录进行操作之前,先对表定义(包括表结构、约束等)加了共享锁,这是为了避免对表的DDL操作。比如:当你往TAB1插入一条记录时,该表的一个字段COL8是允许为空的,插入这条记录的该字段的值是空的,此时,若不对该表定义加共享锁,则另外一SESSION对TAB1.COL8加非
  • bitmap 的一点探究

    2003-04-19 16:15:28   /   Oracle专题深入讨论

    1:bitmap 索引是分段存储的,也就是说很多条记录可能是分做了N段来存储,也就是有N个begin/end ,当新的记录 insert 而使用以前未曾使用过的物理地址的时候,会产生一个bitmap 段来存储,就算只有一条记录2: 当删除一条记录的时候,在bitmap 索引上做了一个delete 的标记并用一新的记录来标记了,下面请看具体的演示3: 当 dml发生的时候,会lock住某个值的存储bit的那一rowid所在的记录,参考下面的 row 中 lock ,这样显然会影响并发SQL> create table tn(a number, b number);Table created.SQL> insert into tn
  • 关于block中数据的存储和重组的探究

    2003-04-14 12:48:57   /   Oracle专题深入讨论

    前言: 在block内部oracle的数据到底是怎么存储的,通过rowid方式的时候又是怎样的,insert/delete/update发生的时候又是怎样的,想仔细探讨一下先交代block里面数据的基本结构:SQL> create table tn(a number, b varchar2(1000));Table created.SQL> insert into tn select rownum, 'wwweeerrrttt' from all_tables where rownum < 11;10 rows created.SQL> commit;Commit complete.SQL> exec show_space('tn');Free Blocks.............................1Total Blocks..............

我的资料

Open Toolbar