您好,登錄后才能下訂單哦!
小編給大家分享一下數據庫中alter database rename file to子句怎么用,希望大家閱讀完這篇文章之后都有所收獲,下面讓我們一起去探討吧!
database_file_clauses
The database_file_clauses let you modify data files and temp files. You can use any of the
following clauses when your instance has the database mounted, open or
closed, and the files involved are not in use.
RENAME FILE Clause
Use the RENAME FILE clause to rename data
files, temp files, or redo log file members. You must create each
filename using the conventions for filenames on your operating system
before specifying this clause.
使用RENAME FILE子句重命名數據文件,臨時文件或重做日志文件成員。 在指定此子句之前,必須使用操作系統上的文件名約定創建每個文件名。
To use this clause for a data file or temp file, the database must be
mounted. The database can also be open, but the data file or temp file
being renamed must be offline. In addition, you must first rename the
file on the file system to the new name.
要將此子句用于數據文件或臨時文件,必須裝入數據庫。 數據庫也可以打開,但重命名的數據文件或臨時文件必須處于脫機狀態。 另外,您必須首先將文件系統上的文件重命名為新名稱。
To use this clause for logfiles, the database must be mounted but not open.
要將這個子句用于日志文件,數據庫必須安裝但不能打開
If you have enabled block change tracking, then you can use this
clause to rename the block change tracking file. The database must be
mounted but not open when you rename the block change tracking file.
如果啟用了塊更改跟蹤,則可以使用此子句來重命名塊更改跟蹤文件。 重命名塊更改跟蹤文件時,數據庫必須安裝但不能打開
This clause renames only files in the control file. It does not
actually rename them on your operating system. The operating system
files continue to exist, but Oracle Database no longer uses them.
該子句僅重命名控制文件中的文件。 它實際上并沒有在你的操作系統上重命名它們。 操作系統文件繼續存在,但Oracle數據庫不再使用它們。
Oracle Database Backup and Recovery User's Guide for information on recovery of data files and temp files
"Renaming a Log File Member: Example" and "Manipulating Temp Files: Example"
看完了這篇文章,相信你對“數據庫中alter database rename file to子句怎么用”有了一定的了解,如果想了解更多相關知識,歡迎關注億速云行業資訊頻道,感謝各位的閱讀!
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。