| 以下是引用片段: WAIT #2: nam='Data file init write' ela= 13031 count=1 intr=256 timeout=-1 obj#=51706 tim=6068271611 WAIT #2: nam='Data file init write' ela= 118163 count=1 intr=256 timeout=-1 obj#=51706 tim=6068392491 WAIT #2: nam='Data file init write' ela= 94036 count=1 intr=256 timeout=-1 obj#=51706 tim=6068490286 WAIT #2: nam='Data file init write' ela= 52412 count=1 intr=256 timeout=-1 obj#=51706 tim=6068545333 WAIT #2: nam='Data file init write' ela= 4 count=0 intr=32 timeout=2147483647 obj#=51706 tim=6068545596 WAIT #2: nam='Data file init write' ela= 26 count=1 intr=32 timeout=2147483647 obj#=51706 tim=6068545641 WAIT #2: nam='Data file init write' ela= 101743 count=1 intr=256 timeout=-1 obj#=51706 tim=6068648487 WAIT #2: nam='Data file init write' ela= 44854 count=1 intr=256 timeout=-1 obj#=51706 tim=6068694281 WAIT #2: nam='Data file init write' ela= 52841 count=1 intr=256 timeout=-1 obj#=51706 tim=6068748054 WAIT #2: nam='Data file init write' ela= 48984 count=1 intr=256 timeout=-1 obj#=51706 tim=6068798310 WAIT #2: nam='Data file init write' ela= 3 count=0 intr=32 timeout=2147483647 obj#=51706 tim=6068798365 WAIT #2: nam='Data file init write' ela= 26 count=1 intr=32 timeout=2147483647 obj#=51706 tim=6068798409 WAIT #2: nam='Data file init write' ela= 101899 count=1 intr=256 timeout=-1 obj#=51706 tim=6068900931 WAIT #2: nam='Data file init write' ela= 21 count=-1 intr=32 timeout=2147483647 obj#=51706 tim=6068901053 |
测试数据库是Oracle10g 10.2.0.3,实际上这个等待事件也是从Oracle 10g开始引入的,用来标识表空间或数据文件扩展时的等待。
Oracle 需要将系统块格式化为Oracle数据块,然后才能提供数据库使用。
在这个流程处理中,Oracle经过如下三个步骤:
1.扩展数据文件
select file# from file$ where ts#=:1
2.更新用户空间限额
update tsq$ set blocks=:3,maxblocks=:4,grantor#=:5,priv1=:6,priv2=:7,priv3=:8 where ts#=:1 and user#=:2
3.扩展数据段
update seg$ set type#=:4,blocks=:5,extents=:6,minexts=:7,maxexts=:8,extsize=:9,extpct=:10,user#=:11,iniexts=:12,lists=decode(:13, 65535, NULL, :13),groups=decode(:14, 65535, NULL, :14), cachehint=:15, hwmincr=:16, spare1=DECODE(:17,0,NULL,:17),scanhint=:18 where ts#=:1 and file#=:2 and block#=:3
这就是Oracle10g中空间扩展时内部流程。
相关图文阅读
频道图文推荐
健 康 咨 询
时 尚 咨 询
相关专题
- 数据库专栏 (5329篇文章)
- 数据库处理专题 (9055篇文章)
- 城域网专题 (8047篇文章)
- 数据库安全技术专题 (13569篇文章)
- 数据库安装与卸载 (10840篇文章)
- Oracle 10g基础应用 (4656篇文章)
- Linux数据库宝典 (13906篇文章)
- 数据库相关文章 (5329篇文章)
- 数据库迁移与导出 (121篇文章)
- 数据库体系架构 (1184篇文章)
- Oracle数据库中关键字 (67次浏览)
- 深入讲解“database link”的设置和使用 (31次浏览)
- 甲骨文:从手机功能变化看数据库性能扩展 (27次浏览)
- Windows环境中同时安装Oracle9i 10g和11g (25次浏览)
- 测量磁盘I/O (21次浏览)
- 带你深入了解Oracle数据库的进制转换 (17次浏览)
- 教你快速掌握如何使用“Opatch”打补丁 (16次浏览)
- 详细讲解Oracle表分区的相关概念及其优点 (16次浏览)
- 讲解Oracle中JOB与存储过程的接合用法 (15次浏览)
- Oracle 10G 新特性--透明数据加密技术 (15次浏览)



