dbms_space.free_space[18]

[入库:2005年8月18日] [更新:2007年3月24日]

本文简介:选择自 youbo2004 的 blog


temporary tablespace  september 03, 2004
reviewer:  nazmul hoque  from bangladesh

my tablespace list as below :

================================

tablespace  initial_extent next_extent min_extents max_extents pct_increase 
min_extlen status  
----------  -------------- ----------- ----------- ----------- ------------ 
------------------
system      65536           65536          1       2.147e+09           50      
65536 online  
rbs         524288         524288          8            4096           50     
524288 online  
users       131072         131072          1            4096            0     
131072 online  
temp        65536           65536          1                            0      
65536 online  
tools       32768           32768          1            4096            0      
32768 online  
indx        131072         131072          1            4096            0     
131072 online  
drsys       65536           65536          1       2.147e+09           50      
65536 online  
dhaka       40960           40960          1             505           50        
  0 online  
ssldata     40960           40960          1             505           50        
  0 online  


================================

normaly we use below command from sql to create a tablespace 
(path mentioned as per our server location) :

create tablespace test 
datafile 'd:\oracle\oradata\ntserver\data1.dat' size 100m
autoextend on next 10m

shall i use below for temporary tablespace
==========================================

create temporary tablespace temp
datafile 'd:\oracle\oradata\ntserver\temp01.dbf' size 100m
autoextend on next 5m

to drop tabelspace :

drop tablespace test;

for temporary tablespace:
========================

drop temporary tablespace temp;

dear tom, please advise me, i am doing wrong or right. if wrong than please 
write only two lines to correct me.

thanks
namzul hoque  

followup:
create temporary tablespace temp 

tempfile '.......' .....

^^^^^^^^ tempfile, not datafile.  documentation is very useful for this stuff

http://download-west.oracle.com/docs/cd/a87860_01/doc/server.817/a85397/statem5e.htm#2063472
(hint, hit the shiftlock key...) 

本文关键:dbms_space.free_space
  相关方案
Google
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top