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

正文內(nèi)容

oracledba(ch)(留存版)

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

下一頁面
  

【正文】 ks組成。 另外在 SGA中還有兩個可選的內(nèi)存結(jié)構(gòu): ? Java pool: 用來存儲 Java代碼。 . 4 server記錄信息顯示事務(wù)已經(jīng)完成,鎖可以被釋放。 – PL*SQL ? 是 Oracle的一種過程化的SQL語言。 either list them alphabetically or group them by functionality. Starting the Instance Usually you would start an instance without mounting a database only during database creation or the recreation of control files. Starting an instance includes the following tasks: ? Reading the parameter file init ? Allocating the SGA ? Starting the background processes ? Opening the ALERT file and the trace files The database must be named with the DB_NAME parameter either in the init file or in the STARTUP mand. Mounting the Database To perform specific maintenance operations, you start an instance and mount a database but do not open the database. For example, the database must be mounted but not open during the following tasks: ? Renaming data files ? Enabling and disabling redo log archiving options ? Performing full database recovery Mounting a database includes the following tasks: ? Associating a database with a previously started instance ? Locating and opening the control files specified in the parameter file ? Reading the control files to obtain the names and status of the data files and redo log files (However, no checks are performed to verify the existence of the data files and online redo log files at this time.) Opening the Database Normal database operation means that an instance is started and the database is mounted and open。 – CLASS COUNT TIME – – data block 0 0 – sort block 0 0 – save undo block 0 0 – segment header 0 0 – save undo header 0 0 – free list 0 0 – system undo header 0 0 – system undo block 0 0 – undo header 0 0 – undo block 0 0 回滾段的大小規(guī)劃 –使用同樣大小的子段 – INITIAL, NEXT應(yīng)用 2KB, 4KB。 ? 數(shù)據(jù)庫的實用程序 – Oracle Export – Oracle Import – Oracle Enterprise Manager 數(shù)據(jù)庫的實用程序 ? Export – 它是 Oracle數(shù)據(jù)庫的一個實用程序。 connected svrmgrshow parameter control_file。 svrmgralter database open。 ? 對于一個 tablespace中所有的數(shù)據(jù)文件均需要進行備份,否則整個tablespace 是無效的。 imp sys/manager buffer=4096000 file= ignore=y full=y inctype=restore 恢復(fù) : Oracle 數(shù)據(jù)庫的備份與恢復(fù) ? 數(shù)據(jù)庫例程失敗的恢復(fù) – 在由于例程繼續(xù)工作受阻,象操作系統(tǒng)崩潰或電源中斷所導(dǎo)致的例程失敗。 數(shù)據(jù)庫性能調(diào)整 utlbstat/utlestat ? 系統(tǒng)運行性能分析報表 – Alter system set timed_statistics=true。 備份: 使用 exportimport實現(xiàn)增量數(shù)據(jù)備份和恢復(fù) 將最后一次的 dump文件 imp到 oracle數(shù)據(jù)庫中。 查詢數(shù)據(jù)庫的運行模式: svrmgrconnect internal。修改參數(shù)文件: initsid.ora 增加下面兩行: log_archive_start=true log_archive_dest=$ORACLE_HOME/dbs/arch 重新啟動數(shù)據(jù)庫,這時數(shù)據(jù)庫將以 archive log 方式運行 . $svrmgrl svrmgrconnect internal。 – 熱備份 ? 數(shù)據(jù)庫啟動并以歸檔方式 – online – offline – 冷備份 ? 數(shù)據(jù)庫關(guān)閉 – 歸檔方式 – 非歸檔方式 ? 邏輯備份 通過 Oracle的實用程序進行的備份 – exp imp 物理備份 ? 確認需要備份的文件的位置 – 數(shù)據(jù)文件 ? 以 Oracle用戶的身份進入操作系統(tǒng) sqlplus sys/manager select name,status from v$datafile。 (4)drop user [cascade]。 將表空間 OFFLINE n不能訪問處于 OFFLINE狀態(tài)的表空間的數(shù)據(jù) n SYSTEM 和包含活動回滾段的表空間不能 OFFLINE ALTER TABLESPACE app_data OFFLINE。 – Insert (向表與視圖中增加新行 ) insert into emp values(8888,‘ abc’ ,‘ clerk’ ,0000,sysdate,2023,0,10)。不能更新、插入、 刪除。 COMMITs 步驟 當(dāng) COMMIT 執(zhí)行時: 1 server在 redo log Buffer中放置一個 SCN作為mit記號 。 SGA包含如下內(nèi)存結(jié)構(gòu): ? 共享池 (shared pool) 用來存儲最近執(zhí)行的 SQL語句和最近使用的數(shù)據(jù)字典 (data dictionary)的數(shù)據(jù)。 區(qū)間 Extents 通過 extent 來給 segment分配空間。 – 存檔重做日志文件 是重做日志的備份用以恢復(fù)數(shù)據(jù)。 特點 高性能、伸縮性 安全性:角色、權(quán)限、用戶 并發(fā)控制:表鎖定、行鎖定 海量數(shù)據(jù):表空間、空間數(shù)據(jù)構(gòu)件 TB級 數(shù)據(jù)完整性:日志、回滾段 分布式數(shù)據(jù)庫:數(shù)據(jù)庫連接 Oracle 概述、特點 發(fā)展和構(gòu)成 發(fā)展史 性能不如 sybase 分區(qū)技術(shù)支持分段的大型數(shù)據(jù)庫 面向?qū)ο? 面向 inter 支持 java 、 webserver、 jdeveloper 9i portal 手機上網(wǎng) oracle體系結(jié)構(gòu) Oracle體系結(jié)構(gòu)決定了數(shù)據(jù)庫如何使用內(nèi)存、硬盤、 cpu和網(wǎng)絡(luò) 一個 Oracle server包括一個 Oracle實例 (instance)和幾個 Oracle數(shù)據(jù)庫文件 (database file). 實例 數(shù)據(jù)庫文件 Oracle instance 實例 = 內(nèi)存分配 + 一組后臺進程 如果把 Oracle比作一部汽車, instance相當(dāng)于汽車的發(fā)動機一樣 ,啟動 oracle前提應(yīng)先啟動 instance..內(nèi)存被分配,進程被啟動 SGA background process Oracle文件 一個 Oracle 數(shù)據(jù)庫是一個數(shù)據(jù)單位的集合。一個數(shù)據(jù)需要至少 兩 個重作日志文件。 ? Oracle 服務(wù)為表空間創(chuàng)建一個數(shù)據(jù)文件,分配指定的磁盤空間再加上額外的一小部分開銷。 ? Data block的大小應(yīng)該為操作系統(tǒng)塊的整數(shù)倍,以減少 I/O量。 – ? Process Monitor (PMON)用戶進程失敗時,進程監(jiān)控程序?qū)崿F(xiàn)進程恢復(fù)。使用 SCN 可以不依靠操作系統(tǒng)時間來檢驗一致性。 ? 復(fù)雜的 select 語句: – group by 子句 select deptno,min(sal),max(sal) from emp group by deptno。 回滾表空間 用于 保存回滾段 不 要包含其他永久性數(shù)據(jù) CREATE TABLESPACE rbs DATAFILE ?DISK2/?SIZE 50M MINIMUM EXTENT 1M DEFAULT STORAGE (INITIAL 2M NEXT 2M MAXEXTENTS 500 PCTINCREASE 0) 。 ?使用 ALTER ROLLBACK SEGMENT命令 從回滾段中釋放空間 ?ALTER ROLLBACK SEGMENT rbs01 ?SHRINK TO 4M。它是一種非常靈活多樣的工具。 sqlselect instance from v$tread。 svrmgr執(zhí)行操作系統(tǒng)備份的命令 svrmgralter tablespace tablespace_name online。 – export 能夠?qū)崿F(xiàn)數(shù)據(jù)庫的增量備份與累計備份。從而導(dǎo)致數(shù)據(jù)庫不能啟動。 – 基于介質(zhì)故障的恢復(fù),需要依賴數(shù)據(jù)庫的備份。 – inctype=cumulative(累計備份 ) ? 對數(shù)據(jù)庫經(jīng)歷了全備份或累計備份之后的修改的表進行的備份。 svrmgralter database backup controlfile to ‘ filename’ reues。對數(shù)據(jù)庫所有的物理文件進行拷貝時, Oracle用戶仍然處于不間斷運行的環(huán)境中。定義你需要卸載數(shù)據(jù)的用戶。 刪除回滾段 ?DROP ROLLBACK SEGMENT rbs01。 存儲參數(shù) 下述參數(shù)影響段的空間分配 : – INITIAL – NEXT – MAXEXTENTS – MINEXTENTS – PCTINCREASE 表空間管理的一般原則 使用同樣大小的子段 只在表空間上指定存儲參數(shù) 子段大小為 160K, 5120KB, 160MB 監(jiān)視子段個數(shù)超過 1024的段 非常大的表應(yīng)單獨建立表空間 TEMP段應(yīng)放在 TEMP表空間 回滾段應(yīng)單獨放在回滾段的表空間 給表空間增加數(shù)據(jù)文件 ALTER TABLESPACE APP_data ADD DATAFILE ?DISK5/?SIZE 200M。 – Order by select ename ,deptno,sal from emp order by deptno ASC,sal DESC。 備注: SQL語句大小寫敏感的,同樣的一個語句,若大小寫不同, oracle需分析執(zhí)行兩次,每句后必以“;”結(jié)束。在數(shù)據(jù)緩存永久寫入數(shù)據(jù)庫時。 Oracle InstanceSGA Oracle instance 包含 SGA內(nèi)存結(jié)構(gòu)和管理數(shù)據(jù)庫的一些后臺進程。 段 Segments Segm
點擊復(fù)制文檔內(nèi)容
研究報告相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1