刪除表空間temp,但不刪除其文件

十余年的都江堰網(wǎng)站建設(shè)經(jīng)驗,針對設(shè)計、前端、開發(fā)、售后、文案、推廣等六對一服務(wù),響應(yīng)快,48小時及時工作處理。營銷型網(wǎng)站的優(yōu)勢是能夠根據(jù)用戶設(shè)備顯示端的尺寸不同,自動調(diào)整都江堰建站的顯示方式,使網(wǎng)站能夠適用不同顯示終端,在瀏覽器中調(diào)整網(wǎng)站的寬度,無論在任何一種瀏覽器上瀏覽網(wǎng)站,都能展現(xiàn)優(yōu)雅布局與設(shè)計,從而大程度地提升瀏覽體驗。成都創(chuàng)新互聯(lián)從事“都江堰網(wǎng)站設(shè)計”,“都江堰網(wǎng)站推廣”以來,每個客戶項目都認真落實執(zhí)行。
用:drop
tablespace
temp;
刪除表空間temp同時刪除表空間的數(shù)據(jù)對象
用drop
tablespace
temp
including
contents;
刪除表空間temp及其包含數(shù)據(jù)對象以及數(shù)據(jù)文件
用drop
tablespace
temp
including
contents
and
datafiles;
希望能幫助你
temp表空間過大時,可通過如下方法重建
SQL
create
temporary
tablespace
temp2
tempfile
'/opt/oracle/oradata/conner/temp1.dbf'
size
200M
autoextend
off;
SQL
alter
database
default
temporary
tablespace
temp2;
SQL
drop
tablespace
temp;
或者SQL
drop
tablespace
temp
including
contents
and
datafiles
cascade
constraints(徹底刪除包括操作系統(tǒng)中的臨時表空間的數(shù)據(jù)文件)
最后在操作系統(tǒng)上把temp的文件刪除,就可以釋放空間。
oracle可以刪除表空間。
1、登錄oracle數(shù)據(jù)庫,如用plsql,需要用戶具有刪除表空間的權(quán)限。
2、打開一個SQL窗口。
3、輸入如下語句,并執(zhí)行:
drop?tablespace?表空間名;
刪除表空間temp,但不刪除其文件 用:drop tablespace temp;\x0d\x0a 刪除表空間temp同時刪除表空間的數(shù)據(jù)對象 用drop tablespace temp including contents;\x0d\x0a刪除表空間temp及其包含數(shù)據(jù)對象以及數(shù)據(jù)文件 用drop tablespace temp including contents and datafiles;\x0d\x0a希望能幫助你
當前題目:oracle空間怎么刪除,刪除oracle表空間文件
文章網(wǎng)址:http://chinadenli.net/article7/dsiihij.html
成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供營銷型網(wǎng)站建設(shè)、全網(wǎng)營銷推廣、定制網(wǎng)站、網(wǎng)站導航、網(wǎng)頁設(shè)計公司、網(wǎng)站改版
聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時需注明來源: 創(chuàng)新互聯(lián)