ITPub博客

首页 > Linux操作系统 > Linux操作系统 > Oracle 扩展表空间或数据文件流程

Oracle 扩展表空间或数据文件流程

原创 Linux操作系统 作者:doris_hf 时间:2008-04-21 14:25:02 0 删除 编辑
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中空间扩展时内部流程。

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/561895/viewspace-246175/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2008-02-02

  • 博文量
    6
  • 访问量
    11170