oracle 建立資料表空間

來源:互聯網
上載者:User

標籤:style   blog   color   ar   使用   sp   資料   div   on   

  • 1,開啟 sqlplus  登入使用者

> system as sysdba

>****

  • 2,建立暫存資料表空間
create temporary tablespace VTMTEMPtempfile ‘D:\else\oracle\tablespace\vtm\vtmtemp.dbf‘size 50mautoextend onnext 50m maxsize 20480mextent management local
  • 3,建立資料資料表空間
create tablespace VTMDATAlogging  datafile ‘D:\else\oracle\tablespace\vtm\vtmdata.dbf‘ size 50m  autoextend on  next 50m maxsize 20480m  extent management local;

4,給使用者指派資料表空間

--建立使用者並分配暫存資料表空間和資料資料表空間create user vtm identified by 1234 default tablespace vtmdatatemporary tablespace vtm_temp;--更改使用者暫存資料表空間和資料資料表空間alter user vtm default tablespace vtmdatatemporary tablespace vtm_temp

 

部落格大部分來自網路,如有涉及到著作權問題請聯絡本人刪除或修改,部落格內容主要為自己學習和筆記使用並希望能給有需要的朋友提供一些協助,不喜勿噴,歡迎各位指出錯誤,一起學習、進步。

聯絡郵箱:[email protected]

QQ:1129368407

oracle 建立資料表空間

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.