freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

oracledba(ch)(專業(yè)版)

2025-02-19 03:37上一頁面

下一頁面
  

【正文】 (數(shù)據(jù)文件不能打開)。 – 參數(shù) inctype=plete (全備份 ) ? 將數(shù)據(jù)庫中的所有數(shù)據(jù)對象卸載 – inctype=incremental (增量備份 ) ? 對數(shù)據(jù)庫經(jīng)過上次全備份、累計備份、增量備份后修改的表進行 export。 數(shù)據(jù)庫熱備份的步驟 2. 備份數(shù)據(jù)庫 – 備份控制文件 svrmgrconnect internal。 INSTANCE test /* test為 oracle的 sid */ 熱備份 (物理備份 ) ? 定義 –在數(shù)據(jù)庫啟動的情況下進行的備份。 Export (卸載 ) ? 執(zhí)行 export – exp username/password parfile=filename – 交互式 ? exp username/password ? 獲取聯(lián)機幫助 – exp help=y ? PARFILE文件 – 格式: ? FULL=Y ? FILE= ? GRANTS=Y ? INDEXES=Y ? CONSISTENT=Y Export (卸載 ) ? export常見參數(shù)的含義 – userid 是 exp命令的第一個參數(shù)。 使用 ALTER ROLLBACK SEGMENT命令 使回滾段 Offline ?ALTER ROLLBACK SEGMENT rbs01 OFFLINE。 建立表空間 CREATE TABLESPACE app_data DATAFILE ?DISK4/?SIZE 100M, ?DISK5/?SIZE 100M MINIMUM EXTENT 500K DEFAULT STORAGE (INITIAL 500K NEXT 500K MAXEXTENTS 500 PCTINCREASE 0)。 – having 子句 select deptno,min(sal),max(sal) from emp where job=‘ CLERK’ group by deptno having min(sal)1000。 SQL語句的執(zhí)行過程 ? A、用戶發(fā)出 SQL請求,打開游標; ? B、把 SQL語句語法分析,執(zhí)行計劃,數(shù)據(jù)字典等信息存入內(nèi)存中共享池內(nèi); ? C、從數(shù)據(jù)文件中把相關(guān)數(shù)據(jù)塊讀入數(shù)據(jù)緩沖區(qū); ? D、做相應操作,若做修改,先加上行級鎖,經(jīng)確認后,把改過前后記錄內(nèi)容存入重做日志緩沖區(qū)內(nèi); ? E、返回結(jié)果給用戶,關(guān)閉游標。 – ? The Checkpoint Process (CKPT) 負責更新數(shù)據(jù)庫的控制文件( control files )中的狀態(tài)信息。 ? Data block的最大尺寸依賴于操作系統(tǒng)。 ?數(shù)據(jù)庫管理員在數(shù)據(jù)文件創(chuàng)建后可以改變它的大小或者設置為根據(jù)需要自動增長。 ? 控制文件 (Control files) 包含維護和檢驗數(shù)據(jù)庫一致性的信息。 Oracle服務 (server)是一個關(guān)系數(shù)據(jù)庫 (relational database)管理系統(tǒng),提供開放、全面、完整的信息管理 。 – 口令驗證文件 用來驗證啟動和關(guān)閉 Oracle實例的用戶。 ? 每個 segment 有一個或多個 extent 組成。分配在 Oracle Server駐留的計算機虛擬內(nèi)存中。與 SGA不同, PGA僅被一個進程使用。 任何 Oracle用戶都不能改變數(shù)據(jù)字典的任何數(shù)據(jù)。 ? DML – update(改變表與視圖現(xiàn)有行與列的值 ) update emp set sal=1000 where empno=7369。 ALTER TABLESPACE app_data DEFAULT STORAGE (INITIAL 2M NEXT 2M MAXEXTENTS 999)。 rolename privelege...... 常用的幾個角色 role (權(quán)限的集合 ) connect (8) 連上 Oracle,做最基本操作 resource(5) 具有程序開發(fā)最基本的權(quán)限 dba (77)數(shù)據(jù)庫管理員所有權(quán)限 expfulldatabase 可把數(shù)據(jù)庫整個備份輸出的 權(quán)限 impfulldatsabase 可把數(shù)據(jù)庫整個備份恢復輸 入的權(quán)限 (3)alter user。如果設定 owner參數(shù),卸載的級別為 用戶級 – tables 決定數(shù)據(jù)卸載的級別,如果設 tables參數(shù),則卸載級別為表 級 – rows 決定只卸載數(shù)據(jù)結(jié)構(gòu)還是需要卸載數(shù)據(jù) Export舉例 ? 全數(shù)據(jù)庫的備份 exp system/manager full=Y file= grants=Y rows=Y ? 用戶級的數(shù)據(jù)庫備份 exp scott/tiger file= owner=scott grants=Y rows=Y press=y ? 表級數(shù)據(jù)庫備份 exp blake/paper file= tables=(dept, manager) rows=y press=Y ? 執(zhí)行 import – imp username/password parfile=filename – 交互式 ? imp username/password ? 獲取聯(lián)機幫助 – imp help=y ? parfile格式 FULL=Y FILE= GRANTS=Y INDEXES=Y import all indexes Import (裝載 ) ? import常見參數(shù)含義 – file /*定義被裝載的文件名 */ – fromuser /*定義 import包含對象的 schme的列表 */ – full /*完全數(shù)據(jù)庫的裝載 */ – indexes /*定義是否裝載索引 */ – tables /*定義需要裝載表名的列表 */ – touser /*定義需要裝載的用戶列表 */ – userid /*定義執(zhí)行 imp的用戶 */ Import 舉例 ? 對特定用戶選擇表的數(shù)據(jù)裝載 imp system/manager file= fromuser=scott tables= (dept,emp) ? 裝載從另外用戶中卸載的表 imp scott/tiger fromuser=blake touser=scott file= tables=(unit,manager) ? 裝載從一個用戶到另外一個用戶的表 imp system/manager file= fromuser=scott touser=blake tables=(*) ? Oracle 數(shù)據(jù)庫的備份與恢復 –數(shù)據(jù)庫備份 –數(shù)據(jù)庫例程失敗的恢復 –介質(zhì)故障的恢復 備份方式 ? 物理備份 就是 Oracle的數(shù)據(jù)文件通過操作系統(tǒng)的工具進行的 備份。 數(shù)據(jù)庫熱備份的步驟 1. 以 archive log 方式啟動數(shù)據(jù)庫 在正常數(shù)據(jù) shutdown。 數(shù)據(jù)庫熱備份的注意事項 ? 在執(zhí)行熱備份的方式下,數(shù)據(jù)庫不能運行于 noarchive log方式。 使用 exportimport實現(xiàn)增量數(shù)據(jù)備份和恢復 1. 全數(shù)據(jù)庫 export $exp sys/manager buffer=4096000 file= full=y inctype=plete 2. 第一天的增量備份 $exp sys/manager buffer=4096000 file= inctype=incremental 3. 第二天的增量備份 $exp sys/manager buffer=4096000 file= inctype=incremental 4. 第三天的增量備份 $exp sys/manager buffer=4096000 file= inctype=incremental 假設數(shù)據(jù)庫在第三天發(fā)生損壞,下面是根據(jù)目前的備份文件進行恢復。 ? 對于索引 ? analyze index 索引 pute statistics。 – 基于例程失敗的恢復的方法是:數(shù)據(jù)庫例程重新啟動時,自動執(zhí)行恢復。 ? 在做熱備份時,盡量選擇數(shù)據(jù)庫最不繁忙時進行。 數(shù)據(jù)庫熱備份的步驟 2. 備份數(shù)據(jù)庫 – 在線的 tablespace的備份 執(zhí)行 svrmgrl svrmgrconnect internal。 NAME TYPE VALUE control_files string /u01/oradata/test/ svrmgr 通常情況下,系統(tǒng)會有三個控制文件 – 歸檔文件 以 Oracle的身份進入操作系統(tǒng)。它將 Oracle數(shù)據(jù)庫的數(shù) 據(jù)和結(jié)構(gòu)移出 Oracle放入到一個二進制的 export 文件中。 – MINEXTENTS設為 20 – OPTIMAL 應大于 MINTEXTENTS的大小 – INITIAL=NEXT=1。 this allows any valid user to connect to the database and perform typical data access operations. Opening the database includes the following tasks: ? Opening the online data files ? Opening the online redo log files If any of the data files or online redo log files are not present when you attempt to open the database, the Oracle server returns an error. During this final stage, the Oracle server verifies that all the data files and online redo log files can be opened and checks the consistency of the database. If necessary, the System Monitor background process (SMON) initiates instance recovery. Starting Up To start up an instance, use the following mand: STARTUP [FORCE] [RESTRICT] [PFILE= filename] [OPEN [RECOVER][ database] |MOUNT |NOMOUNT] To open the database from STARTUP NOMOUNT to a MOUNT stage or from MOUNT to an OPEN stage, use the ALTER DATABASE mand: ALTER DATABASE { MOUNT | OPEN } ALTER DATABASE OPEN [READ WRITE| READ ONLY] Example: – Start up the instance and open the database: STARTUP PFILE=/DISK1/initU15. – Change the state of the database from NOMOUNT to MOUNT: ALTER DATABASE database MOUNT。他有自己的程序結(jié)構(gòu), 有各種條件控制和循環(huán)控制。 數(shù)據(jù)緩沖信息獨立的由 DBW0執(zhí)行,可能在 mit前也可能在Commit后。 ? Large pool: 用來存儲不與 SQL直接相關(guān)的大型內(nèi)存結(jié)構(gòu)。 ? 一個 extent 不能跨越 data file, 但必須存在 data file中。 – Tablespaces 可以在讀 /寫之間切換。一個數(shù)據(jù)庫中至少包含一個數(shù)據(jù)文件。數(shù)據(jù)包含在用戶定義的表中,而且數(shù)據(jù)文件還包含數(shù)據(jù)詞典 (data dictionary),數(shù)據(jù)修改以前的映象(beforeimages of modified Data)索引 (indexes)和其他類型的結(jié)構(gòu) (other types of structures)。 – 除了 SYSTEM tablespace 或 有活動回滾段的 tablespace , tablespaces 可以被離線 (offline)。 ? 一個 extent 由一系列連續(xù)的 Oracle bloc
點擊復制文檔內(nèi)容
研究報告相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1