欧美一级特黄大片做受成人-亚洲成人一区二区电影-激情熟女一区二区三区-日韩专区欧美专区国产专区

關(guān)于表空間offline小知識(shí)點(diǎn)

1、表空間offline的原因
Taking Tablespaces Offline
Taking a tablespace offline makes it unavailable for normal access.

You may want to take a tablespace offline for any of the following reasons:

To make a portion of the database unavailable while allowing normal access to the remainder of the database

To perform an offline tablespace backup (even though a tablespace can be backed up while online and in use)

To make an application and its group of tables temporarily unavailable while updating or maintaining the application

To rename or relocate tablespace data files  ##上次文檔就是因?yàn)橐孛麛?shù)據(jù)文件offline了表空間
實(shí)驗(yàn)1
SQL> archive log list;
Database log mode              Archive Mode
Automatic archival             Enabled
Archive destination            +DATADG/arch
Oldest online log sequence     266
Next log sequence to archive   268
Current log sequence           268
SQL> 

SQL> alter tablespace users offline ;  ##默認(rèn)使用normal參數(shù)
Tablespace altered.

SQL> alter system switch logfile;
System altered.

SQL> shutdown immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> 
SQL> startup
ORACLE instance started.

Total System Global Area 1653518336 bytes
Fixed Size                  2253784 bytes
Variable Size            1006636072 bytes
Database Buffers          637534208 bytes
Redo Buffers                7094272 bytes
Database mounted.
Database opened.
SQL> 
SQL> alter tablespace users online;
Tablespace altered.

SQL> select tablespace_name,status from dba_tablespaces;
TABLESPACE_NAME                STATUS
------------------------------ ---------
SYSTEM                         ONLINE
SYSAUX                         ONLINE
UNDOTBS1                       ONLINE
TEMP                           ONLINE
USERS                          ONLINE
UNDOTBS2                       ONLINE
6 rows selected.

SQL> 
實(shí)驗(yàn)2
SQL> archive log list;
Database log mode              Archive Mode
Automatic archival             Enabled
Archive destination            +DATADG/arch
Oldest online log sequence     267
Next log sequence to archive   269
Current log sequence           269
SQL> alter tablespace users offline immediate;  ##參數(shù)immediate

Tablespace altered.

SQL> alter system switch logfile;

System altered.

SQL> shutdown immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup
ORACLE instance started.

Total System Global Area 1653518336 bytes
Fixed Size                  2253784 bytes
Variable Size            1006636072 bytes
Database Buffers          637534208 bytes
Redo Buffers                7094272 bytes
Database mounted.
Database opened.
SQL> alter tablespace users online;
alter tablespace users online
*
ERROR at line 1:
ORA-01113: file 4 needs media recovery
ORA-01110: data file 4: '+DATADG/orcl/datafile/users.259.954803993'

SQL> recover tablespace users;
Media recovery complete.
SQL> alter tablespace users online;

Tablespace altered.

SQL> select tablespace_name,status from dba_tablespaces;

TABLESPACE_NAME                STATUS
------------------------------ ---------
SYSTEM                         ONLINE
SYSAUX                         ONLINE
UNDOTBS1                       ONLINE
TEMP                           ONLINE
USERS                          ONLINE
UNDOTBS2                       ONLINE

6 rows selected.

SQL> 

小結(jié):
默認(rèn)offline表空間執(zhí)行一致性檢查點(diǎn),使用normal參數(shù)來(lái)offline表空間。
如果使用immediate參數(shù)offline表空間需要進(jìn)行recover操作。大家可以看實(shí)驗(yàn)過(guò)程了解。

十年建站經(jīng)驗(yàn), 做網(wǎng)站、網(wǎng)站制作客戶的見(jiàn)證與正確選擇。創(chuàng)新互聯(lián)提供完善的營(yíng)銷型網(wǎng)頁(yè)建站明細(xì)報(bào)價(jià)表。后期開(kāi)發(fā)更加便捷高效,我們致力于追求更美、更快、更規(guī)范。

新聞標(biāo)題:關(guān)于表空間offline小知識(shí)點(diǎn)
鏈接分享:http://aaarwkj.com/article44/iihgee.html

成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供面包屑導(dǎo)航定制開(kāi)發(fā)、網(wǎng)站制作、微信公眾號(hào)App開(kāi)發(fā)、企業(yè)網(wǎng)站制作

廣告

聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請(qǐng)盡快告知,我們將會(huì)在第一時(shí)間刪除。文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如需處理請(qǐng)聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時(shí)需注明來(lái)源: 創(chuàng)新互聯(lián)

小程序開(kāi)發(fā)
国产三级精品久久三级国专区| 亚洲国产日韩精品欧美| 厕所偷拍视频一区二区三区| 自拍国语对白在线视频| 99热免费精品在线观看| 国产极品嫩模在线观看91| 女同亚洲一区二区三区| 国产精品久久电影观看| 偷拍丝袜美腿在线观看| 成人性生交大片免费看中文 | 久久国产三级久久久久久 | 男女视频一区二区三区在线观看| 日本一区二区在线观看视频| 天天色天天色天天色综合网| 人妻人人澡人人添人人爽桃色| 免费av中文字幕电影| 黄色大片免费在线观看| 日韩欧美人妻一二三四区| 亚洲精品一区二区免费看| 国产高清视频不卡在线| 黄色18禁网站在线看| 精品毛片久久久久久久久| 人妻中文字幕精品系列| 91人妻一区二区三区久久| 人妖系列中文字幕欧美系列| 亚洲午夜天堂精品福利天堂| 亚洲成人av在线直播| 青青草原在线视频一区| 午夜精品久久99蜜桃| 欧美经典三级一区二区三区| 日韩av中文一区二区| 亚洲欧美半夜激情一区二区| 亚洲国产一区二区高清| 97久久精品人妻一区二区三区| 色综合久久综合香梨网| 亚洲天堂网免费在线看| 欧美精品在线观看不卡一区| 91亚洲蜜桃内射后入在线观看| 麻豆午夜福利在线播放| 日本美女午夜福利视频| 亚洲婷婷久久一区二区|