Solved

How to reduce TEMP01.DBF?

Posted on 2004-05-01
1
1,678 Views
Last Modified: 2012-06-27
Hello,
I've got two temporary tablespaces TEMP and TEMP02:

select file_name from dba_temp_files where tablespace_name = 'TEMP';
C:\ORACLE\ORADATA\OEA1\TEMP01.DBF

select file_name from dba_temp_files where tablespace_name = 'TEMP02';
F:\DATOSORA\TEMP02:DBF

User System uses tablespace TEMP02 and user Sys uses tablespace TEMP.
Problem is TEMP01.DBF is quite large and I would like to reduce it. But how? Maybe if I do:

alter user SYS temporary tablespace Another_Table_Space;

I would spoil a lot of things... Could anyone give me an example of what to do, please?
Thanks!
 
0
Comment
Question by:mogulwindows
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 12

Accepted Solution

by:
geotiger earned 95 total points
ID: 10969571
Here is the excerption from this Q&A: http://www.experts-exchange.com/Databases/Oracle/Q_20827160.html?query=reduce+temp+tablespace&searchType=all

1. shutdow the database instance to make sure there is nobody using the temp tablespace at this very moment.l
2. say your current , giant temporary tablespace is called "TEMP",

SQL> create temporary tablespace temp2 tempfile '<file_path_to_new_temp_file>' size 100M extent management local uniform size 6M;

SQL> alter database default temporary tablespace temp2;
SQL> drop tablespace TEMP;

--In the OS level, delete the temp file.
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction A previously published article on Experts Exchange ("Joins in Oracle", http://www.experts-exchange.com/Database/Oracle/A_8249-Joins-in-Oracle.html) makes a statement about "Oracle proprietary" joins and mixes the join syntax with gen…
I remember the day when someone asked me to create a user for an application developement. The user should be able to create views and materialized views and, so, I used the following syntax: (CODE) This way, I guessed, I would ensure that use…
Via a live example show how to connect to RMAN, make basic configuration settings changes and then take a backup of a demo database
This video shows how to Export data from an Oracle database using the Original Export Utility.  The corresponding Import utility, which works the same way is referenced, but not demonstrated.
Suggested Courses

630 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question