oracle中表空間的設定

2021-09-12 13:29:32 字數 4251 閱讀 6895

新建oraclefile檔案

建立temp1,temp2

create temporary tablespace temp1

tempfile 『c:\oraclefile\temp1.dbf』

size 2m

tablespace sroup group1;

create temporary tablespace temp2

tempfile 『c:\oraclefile\temp2.dbf』

size 2m

tablespace sroup group1;

查詢組檔案的名

select group_name,tablespace_name

from dba_tablespace_groups

where group_name=『group1』;

移動dbf檔案

alter tablespace temp1 tablespace group group2;

刪除臨時表空間

drop tablespace temp1 including contents and datafiles;

修改預設臨時表空間

alter database default temporary tablespace temp2;

刪除temp表空間

drop tablespace temp including contents and datafiles;

建立mybigspace

create bigfile tablespace mybigspace

datafile 『c:\oraclefile\mybigspace.dbf』

size 10m;

撤銷表空間(存放修改的資料)

建立create undo tablespace myundo

datafile 『c:\oraclefile\myundo.dbf』

size 10m;

臨時表空間,大檔案表空間,建立撤銷表空間,基礎表空間

撤銷表空間管理

切換表空間

alter system set undo_tablespace=『myundo』;

看表空間名

show parameter undo_tablespace;

修改撤銷記錄的保留時間

alter system set undo_retention=1200;

檢視保留時間

show parameter undo_retention;

刪除撤銷表空間myundo

alter system set undo_tablespace=『undotbs1』;

drop tablespace myundo including contents and datafiles;

你好! 這是你第一次使用markdown編輯器所展示的歡迎頁。如果你想學習如何使用markdown編輯器, 可以仔細閱讀這篇文章,了解一下markdown的基本語法知識。

全新的介面設計,將會帶來全新的寫作體驗;

在創作中心設定你喜愛的**高亮樣式,markdown將**片顯示選擇的高亮樣式進行展示;

全新的katex數學公式語法;

增加了支援甘特圖的mermaid語法1

功能;增加了焦點寫作模式、預覽模式、簡潔寫作模式、左右區域同步滾輪設定等功能,功能按鈕位於編輯區域與預覽區域中間;

增加了檢查列表功能。

撤銷:ctrl/command + z

重做:ctrl/command + y

加粗:ctrl/command + b

斜體:ctrl/command + i

無序列表:ctrl/command + shift + u

有序列表:ctrl/command + shift + o

檢查列表:ctrl/command + shift + c

插入**:ctrl/command + shift + k

插入:ctrl/command + shift + g

直接輸入1次#,並按下space後,將生成1級標題。

輸入2次#,並按下space後,將生成2級標題。

以此類推,我們支援6級標題。有助於使用toc語法後生成乙個完美的目錄。

強調文字

強調文字

加粗文字加粗文字

標記文字

刪除文字

引用文字

h2o is是液體。

210 運算結果是 1024.

帶尺寸的:

居中的:

居中並且帶尺寸的:

當然,我們為了讓使用者更加便捷,我們增加了拖拽功能。

去部落格設定頁面,選擇一款你喜歡的**片高亮樣式,下面展示同樣高亮的**片.

// an highlighted block

var foo =

'bar'

;

專案1專案2

專案3乙個簡單的**是這麼建立的:

專案value

電腦$1600

手機$12

導管$1

使用:---------:居中

使用:----------居左

使用----------:居右

第一列第二列

第三列第一列文字居中

第二列文字居右

第三列文字居左

smartypants將ascii標點字元轉換為「智慧型」印刷標點html實體。例如:

type

ascii

html

single backticks

'isn't this fun?'『isn』t this fun?』

quotes

"isn't this fun?"「isn』t this fun?」

dashes

-- is en-dash, --- is em-dash– is en-dash, — is em-dash

markdown

text-to-

html conversion tool

authors

john

luke

乙個具有註腳的文字。2

markdown將文字轉換為 html。

您可以使用渲染latex數學表示式 katex:

gamma公式展示 γ(n

)=(n

−1)!

∀n∈n

\gamma(n) = (n-1)!\quad\forall n\in\mathbb n

γ(n)=(

n−1)

!∀n∈

n 是通過尤拉積分

γ (z

)=∫0

∞tz−

1e−t

dt.\gamma(z) = \int_0^\infty t^e^dt\,.

γ(z)=∫

0∞​t

z−1e

−tdt

.

你可以找到更多關於的資訊latex數學表示式here.

可以使用uml圖表進行渲染。 mermaid. 例如下面產生的乙個序列圖::

這將產生乙個流程圖。:

我們依舊會支援flowchart的流程圖:

如果你想嘗試使用此編輯器, 你可以在此篇文章任意編輯。當你完成了一篇文章的寫作, 在上方工具欄找到文章匯出,生成乙個.md檔案或者.html檔案進行本地儲存。

如果你想載入一篇你寫過的.md檔案或者.html檔案,在上方工具欄可以選擇匯入功能進行對應副檔名的檔案匯入,

繼續你的創作。

mermaid語法說明↩︎

註腳的解釋 ↩︎

Oracle中表空間的建立,修改,刪除

今天在我使用oracle中imp命令時,出現了沒有相應的表空間的報錯。無奈只能重新把錶空間從新建立起來。建立表空間 create tablespace bhinfospace datafile c oracle cdc01.ora size 100m reuse,c oracle cdc02.ora...

批量更改ORACLE中表 索引的表空間

oracle中表 索引的表空間的批量更改方法 1 查詢當前使用者下的所有表 select alter table table name move tablespace tablespacename from user all tables select alter table table name ...

oracle中表空間和資料檔案

表空間是資料庫的邏輯組成部分。從物理上講,資料庫資料存放在資料檔案中 從邏輯上講,資料庫則是存放在表空間中,表空間由乙個或多個資料檔案組成。資料庫的邏輯結構 介紹 oracle中邏輯結構包括表空間 段 區和塊。說明一下資料庫由表空間構成,而表空間又是由段構成,而段又是由區構成,而區又是由oracle...