偷偷摘套内射激情视频,久久精品99国产国产精,中文字幕无线乱码人妻,中文在线中文a,性爽19p

深入了解Oracle表空間

數(shù)據(jù)庫 Oracle
Oracle表空間是數(shù)據(jù)庫的邏輯劃分, 每個數(shù)據(jù)庫至少有一個表空間,叫做系統(tǒng)表空間,每個Oracle表空間由同一個磁盤上的一個或多個文件組成, 這些文件稱為數(shù)據(jù)文件。

Oracle表空間是Oracle數(shù)據(jù)庫中的重要概念,是Oracle體系結(jié)構(gòu)的關(guān)鍵一環(huán),下面就讓我們一起了解一下。

Oracle表空間

Oracle表空間(tablespace)是數(shù)據(jù)庫的邏輯劃分, 每個數(shù)據(jù)庫至少有一個表空間,叫做系統(tǒng)表空間(system 表空間). 一個表空間只能屬于一個數(shù)據(jù)庫。

每個Oracle表空間由同一個磁盤上的一個或多個文件組成, 這些文件稱為數(shù)據(jù)文件.

Oracle表空間的特性:

(1)控制數(shù)據(jù)庫數(shù)據(jù)磁盤分配

(2)限制用戶在表空間中可以使用的磁盤空間大小

(3)表空間具有 online, offline, readonly, readwrite屬性

修改表空間的屬性:

SQL> alter tablespace 表空間名稱 屬性;

查詢表空間狀態(tài):

SQL> select tablespace_name, status from dba_tablespaces;

注意: system, undo, temp表空間不能設(shè)為offline屬性.

(4)完成部分?jǐn)?shù)據(jù)庫的備份與恢復(fù)

(5)表空間通過數(shù)據(jù)文件來擴(kuò)大, 表空間的大小等于構(gòu)成該表空間的所以數(shù)據(jù)文件的大小只和.

查詢表空間與數(shù)據(jù)文件對應(yīng)關(guān)系:

SQL> select tablespace_name, bytes, file_name from dba_data_files;

基于表空間的幾個操作:

(1)查詢用戶缺省表空間:

SQL> select username, default_tablespace from dba_users;

(2)查詢表與存儲該表的表空間:

SQL> select table_name, tablespace_name from user_tables;

(3)修改用戶缺省表空間:

SQL> alter user username default tablespace tablespace_name;

(4)將數(shù)據(jù)從一個表空間移動到另一個表空間:

SQL> alter table table_name move tablespace tablespace_name;
 

 

 

 

【編輯推薦】

帶您了解Oracle啟動參數(shù)

Oracle轉(zhuǎn)換函數(shù)一覽

Oracle DECODE函數(shù)的語法介紹

Oracle字符串連接的方法

Oracle模糊查詢的實(shí)現(xiàn)

責(zé)任編輯:段燃 來源: 互聯(lián)網(wǎng)
相關(guān)推薦

2010-11-19 15:53:28

oracle管理表空間

2010-10-27 15:58:01

Oracle臨時表

2010-11-19 16:22:14

Oracle事務(wù)

2010-10-29 10:04:27

2010-10-29 14:57:12

Oracle歸檔模式

2010-10-26 11:28:33

ORACLE運(yùn)行方式

2010-10-28 10:19:29

oracle權(quán)限管理

2010-10-15 11:27:21

Mysql臨時表

2010-10-25 14:09:01

Oracle觸發(fā)器

2010-11-16 14:43:25

Oracle SQL計(jì)

2010-07-13 09:36:25

2020-09-21 09:53:04

FlexCSS開發(fā)

2022-08-26 13:48:40

EPUBLinux

2009-08-25 16:27:10

Mscomm控件

2010-06-23 20:31:54

2020-07-20 06:35:55

BashLinux

2011-07-18 15:08:34

2022-06-03 10:09:32

威脅檢測軟件

2018-06-22 13:05:02

前端JavaScript引擎

2021-01-19 12:00:39

前端監(jiān)控代碼
點(diǎn)贊
收藏

51CTO技術(shù)棧公眾號