150.The user HR receives the following error while inserting data into the TTK table: ERROR at line

150.The user HR receives the following error while inserting data into the TTK table:
ERROR at line 1:
ORA-01653: unable to extend table HR.TTK by 128 in tablespace SMD
Upon investigation, you find that SMD is a small file tablespace. Which three action would allow the user
to insert data? (Choose three.)
A.Add a data file to the SMD tablespace.
B.Add a data file to the temporary tablespace associated with the user HR.
C.Resize the data file associated with the SMD tablespace to make it larger.
D.Alter the data file associated with the SMD tablespace to grow automatically.
E.Change the segment space management for the SMD tablespace to automatic n segments is managed through free lists.
答案:ACD
解析:
重置表空间大小
  1.这个只是用于字典管理的表空间,如果是本地管理的是无法修改大小的
      alter tablespace 表空间名 
      [minimum extent 正整数[K|M] 
      |default 存储子句]
  2.如果是本地管理的表空间,可以通过如下方法增加大小
      a.改变数据文件的大小
        i.创建的时候使用autoextend on 自动改变数据文件的大小
        ii.创建完后使用autoextend on 选项的alter database命令手动开启自动扩展数据文件大小  
          alter database datafile '/u01/wahaha.dbf' autoextent on next 1m;
        iii.改变数据文件的大小
          alter database datafile '/u01/wahaha.dbf' resize 10m;
      b.增加数据文件
          alter tablespace wahaha add datafile '/u01/wahaha.dbf' size 80M;
A:正确,属于增加数据文件
B:错误,与临时表空间没啥关系
c:正确,属于改变数据文件的大小
D:正确,属于自动改变数据文件的大小
E:错误,没关系,这个是段空间管理,并不是总大小
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值