Oracle Tablespace - Basic

923 views

Published on

This was presentation about Oracle Tablespace for Advanced Database lab.

# Eryk Budi Pratama

Published in: Technology, News & Politics
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
923
On SlideShare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
61
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide
  • http://docs.oracle.com/cd/B19306_01/server.102/b14220/physical.htm#CNCPT003http://docs.oracle.com/cd/B19306_01/server.102/b14200/statements_7003.htm
  • Oracle Tablespace - Basic

    1. 1. Oracle DatabaseTablespaceEryk Budi Pratama – Dimas Aryo AnggoroAdvanced Database LabInformatics Engineering –Bakrie University
    2. 2. TablespaceOracle stores data logically in tablespacesand physically in datafiles associated withthe corresponding tablespace.
    3. 3. List tablespacesselect * from user_free_space;
    4. 4. Create TablespaceCreate tablespace nama-tablespacedatafile ‘nama-datafile.dat’size 2M autoextend on next 500Kmaxsize 4M;
    5. 5. Altering Tablespacealter databasedatafile ‘nama-datafile.dat’resize 6M;
    6. 6. Adding Datafilealter tablespace dataku add datafile‘nama-datafile.dat’ size 2M;
    7. 7. Drop Tablespacedrop tablespace nama-tablespaceincluding contents;
    8. 8. Create Usercreate user nama_useridentified by password-userdefault tablespace dtpraktek;
    9. 9. Grant & Resourcegrant connect to user01;grant resource to user01;
    10. 10. Q&A

    ×