无码av一区二区三区无码,在线观看老湿视频福利,日韩经典三级片,成 人色 网 站 欧美大片在线观看

歡迎光臨散文網(wǎng) 會員登陸 & 注冊

Oracle技術(shù)分享 ORA-60100 異常處理

2022-10-27 18:00 作者:夜灬長夢多  | 我要投稿

系統(tǒng):Windows 11

數(shù)據(jù)庫:Oracle 19.3.0.0

問題描述:drop臨時表空間時報錯ORA-60100,如下所示:

SQL> drop tablespace temp includingcontents and datafiles;

drop tablespace temp including contents anddatafiles

*

第 1 行出現(xiàn)錯誤:

ORA-60100: 由于排序段, 已阻止刪除表空間 ID 號 (tsn) 為 3 的臨時表空間

異常原因:

temp表空間還有會話占用,可通過v$sort_usage查詢,殺掉占用的會話或等會話執(zhí)行完畢釋放后再刪除.

--查詢語句

set line 200

col sql_text for a50

col tablespace for a15

col username for a20

col username for a10

Select se.username,

se.sid,

se.serial#,

su.extents,

su.blocks *to_number(rtrim(p.value)) as Space,

tablespace,

segtype,

sql_text

from v$sort_usagesu, v$parameter p, v$session se, v$sql s

where p.name = 'db_block_size'

andsu.session_addr = se.saddr

and s.hash_value= su.sqlhash

and s.address =su.sqladdr

order by se.username, se.sid;

USERNAME SID SERIAL# EXTENTS SPACE TABLESPACE SEGTYPE SQL_TEXT

---------- ---------- ---------- -------------------- --------------- --------------------------------------------------------------------

63 9766 1 1048576 TEMP DATA select count(*) from ilmobj$ whererownum = 1

SQL> alter system kill session '63,9766'immediate;

系統(tǒng)已更改.

SQL> drop tablespace temp including contents anddatafiles;

表空間已已刪除


Oracle技術(shù)分享 ORA-60100 異常處理的評論 (共 條)

分享到微博請遵守國家法律
永兴县| 梅河口市| 大名县| 水城县| 北川| 满洲里市| 大石桥市| 江源县| 富裕县| 新干县| 沂水县| 沙洋县| 平舆县| 南安市| 镇赉县| 安新县| 阿图什市| 游戏| 康马县| 清新县| 潢川县| 芦溪县| 出国| 金堂县| 雷州市| 郯城县| 曲麻莱县| 陆良县| 介休市| 宜州市| 东辽县| 墨竹工卡县| 烟台市| 肃北| 衡南县| 鄂托克旗| 南阳市| 临夏市| 德化县| 封丘县| 大荔县|