oracle 學習小結 例項

2021-06-19 10:47:36 字數 415 閱讀 1723

•oracle 

資料庫主要由兩部分構成:

放在磁碟中的物理資料庫和對物理資料庫進行管理的資料庫管理系統。

其中資料庫管理系統是處於使用者與物理資料庫之間的乙個中間層軟體,

又稱為例項。

例項就是用來訪問乙個資料庫檔案集的乙個儲存結構及後台程序的集合。

•在啟動資料庫時,

oracle 

首先在記憶體中獲取一定的空間,啟動各種用途

的後台程序,即建立乙個資料庫例項,然後由例項裝載資料檔案和重做日誌

檔案,最後開啟資料庫。使用者運算元據庫的過程實質上是與資料庫例項建立

連線,然後通過例項來連線、運算元據庫的過程。

•決定例項的組成及大小的引數儲存在

init

<

sid>.

ora檔案中。 

Oracle兩種高階查詢總結(例項講解)

一.case when then else end條件控制查詢 1.簡單case函式用法 select id,stu name case when score 90 then 優秀 when score 75 and score 90 then 良好 when score 60 and score ...

oracle 學習小結8

rman的一些常用小結。1 備份 rman target sys sys demo nocataglog rman run list backup rman report schema 檢視方案 備份表空間 backup tablespace users format d backup rman n...

oracle 學習小結4

1 建立使用者 create user tom identified by 密碼 default tablespace 表空間 temporary tablespace 臨時表空間 quota 20m on 表空間 password expire 其中 quota表明只能使用某個表空間指定大小的磁碟...