|
|
|
|
|
|
|
Re: How to Resize Temp Tablespace [message #463834 is a reply to message #463699] |
Sun, 04 July 2010 13:53   |
Solomon Yakobson
Messages: 3303 Registered: January 2010 Location: Connecticut, USA
|
Senior Member |
|
|
rk44 wrote on Fri, 02 July 2010 12:34u can resize a temp tablespace if resize is greater than already mentioned size ,otherwise it throws error
Really?
SQL> select file_name,bytes/1024/1024 from dba_temp_files;
FILE_NAME
--------------------------------------------------------------------------------
BYTES/1024/1024
---------------
C:\ORACLE\PRODUCT\10.2.0\ORADATA\SOL10\TEMP01.DBF
64
SQL> alter database tempfile 'C:\ORACLE\PRODUCT\10.2.0\ORADATA\SOL10\TEMP01.DBF' resize 32M
2 /
Database altered.
SQL> select file_name,bytes/1024/1024 from dba_temp_files;
FILE_NAME
--------------------------------------------------------------------------------
BYTES/1024/1024
---------------
C:\ORACLE\PRODUCT\10.2.0\ORADATA\SOL10\TEMP01.DBF
32
SQL>
SY.
|
|
|
|
|
Re: How to Resize Temp Tablespace [message #464024 is a reply to message #463226] |
Mon, 05 July 2010 22:38  |
suntrupth
Messages: 13 Registered: July 2010
|
Junior Member |
|
|
Hi,
Make sure there are no users currently performing any sort operations.
SQL> select tablespace_name, current_users, total_blocks, used_blocks, free_blocks from v$sort_segment;
Altering the tablespace during normal operations should be avoided. Depending on the size of the original segment, you could experience ORA-1562 errors.
Regards,
Suntrupth
[Updated on: Mon, 05 July 2010 22:39] Report message to a moderator
|
|
|