Oracle Tablespace - Basic
Upcoming SlideShare
Loading in...5
×
 

Oracle Tablespace - Basic

on

  • 672 views

This was presentation about Oracle Tablespace for Advanced Database lab.

This was presentation about Oracle Tablespace for Advanced Database lab.

# Eryk Budi Pratama

Statistics

Views

Total Views
672
Views on SlideShare
672
Embed Views
0

Actions

Likes
0
Downloads
26
Comments
0

0 Embeds 0

No embeds

Accessibility

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • 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 Oracle Tablespace - Basic Presentation Transcript

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