亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費(fèi)注冊(cè) 查看新帖 |

Chinaunix

  平臺(tái) 論壇 博客 文庫(kù)
最近訪問(wèn)板塊 發(fā)新帖
查看: 2770 | 回復(fù): 4
打印 上一主題 下一主題

請(qǐng)問(wèn):如何徹底刪除數(shù)據(jù)文件 [復(fù)制鏈接]

論壇徽章:
0
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報(bào)告]
發(fā)表于 2004-12-13 18:09 |只看該作者 |倒序?yàn)g覽
alter database datafile '/oracle/oracle/oradata/ora920/system02.dbf'  OFFLINE drop;

刪除增加錯(cuò)誤的數(shù)據(jù)文件后,重啟數(shù)據(jù)庫(kù)后,用select FILE_NAME from dba_data_files;還是可以找到相應(yīng)的數(shù)據(jù)文件,
select file#,name,status from v$datafile;看到數(shù)據(jù)文件的狀態(tài)是RECOVER,請(qǐng)問(wèn)怎樣可以徹底的將datafile '/oracle/oracle/oradata/ora920/system02.dbf'在數(shù)據(jù)庫(kù)中刪除呢?

論壇徽章:
0
2 [報(bào)告]
發(fā)表于 2004-12-13 18:20 |只看該作者

請(qǐng)問(wèn):如何徹底刪除數(shù)據(jù)文件

alter database datafile '...'
offline drop;

論壇徽章:
0
3 [報(bào)告]
發(fā)表于 2004-12-15 12:39 |只看該作者

請(qǐng)問(wèn):如何徹底刪除數(shù)據(jù)文件

是這樣的,但執(zhí)行alter database datafile filename offline drop后應(yīng)在v$datafile內(nèi)狀態(tài)為offline,這也許是Oracle公司應(yīng)解決的問(wèn)題。

Once you make a datafile part of a tablespace, the datafile CANNOT be removed,  although we can use some workarounds.

If you have more than one datafile in the tablespace and you wish to keep the  objects that reside in the other datafile(s) which are part of this tablespace, then you must export all the objects  inside the affected tablespace.



廣東勵(lì)康  提供Oracle技術(shù)支持服務(wù)

論壇徽章:
0
4 [報(bào)告]
發(fā)表于 2004-12-15 16:52 |只看該作者

請(qǐng)問(wèn):如何徹底刪除數(shù)據(jù)文件

不允許的,oracle的數(shù)據(jù)在數(shù)據(jù)文件間分配,刪除了一個(gè)數(shù)據(jù)文件后別的數(shù)據(jù)文件記錄的內(nèi)容也不完整了,如果要?jiǎng)h一個(gè)數(shù)據(jù)文件的話和刪了個(gè)表空間再重建差不多。

論壇徽章:
0
5 [報(bào)告]
發(fā)表于 2004-12-17 06:30 |只看該作者

請(qǐng)問(wèn):如何徹底刪除數(shù)據(jù)文件

you should drop the entire tablespace instead of the individual datafiles.

drop tablespace xxx including contents and datafiles;
(warning: make sure know what you are doing)

"alter database datafile '/oracle/oracle/oradata/ora920/system02.dbf' OFFLINE drop;"
does not actually drop the datafile. it only marks it as offline.
您需要登錄后才可以回帖 登錄 | 注冊(cè)

本版積分規(guī)則 發(fā)表回復(fù)

  

北京盛拓優(yōu)訊信息技術(shù)有限公司. 版權(quán)所有 京ICP備16024965號(hào)-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號(hào):11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報(bào)專區(qū)
中國(guó)互聯(lián)網(wǎng)協(xié)會(huì)會(huì)員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關(guān)心和支持過(guò)ChinaUnix的朋友們 轉(zhuǎn)載本站內(nèi)容請(qǐng)注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP