troubleshooting Question

Temp tablespace is 20GB???!!

Avatar of futureDBA
futureDBA asked on
Oracle Database
8 Comments2 Solutions812 ViewsLast Modified:
my system crashed because I ran out of space on my HD, when i checked for large files, the following was returned

[root@db /]# find . -type f -size +50000k -exec ls -lh {} \; | awk '{ print $9 ": " $5 }'
./usr/bin/oracle: 159M
./usr/lib/locale/locale-archive: 95M
./usr/lib/jvm/java-1.6.0-openjdk- 58M
./u01/app/oracle/product/11.2.0/xe/dbs/ts_production.dbf: 11G
./u01/app/oracle/product/11.2.0/xe/bin/oracle: 159M
./u01/app/oracle/oradata/XE/undotbs1.dbf: 51M
./u01/app/oracle/oradata/XE/temp.dbf: 20G
./u01/app/oracle/oradata/XE/sysaux.dbf: 751M
./u01/app/oracle/oradata/XE/system.dbf: 381M
./u01/app/oracle/oradata/XE/users.dbf: 101M
./u01/app/oracle/fast_recovery_area/XE/onlinelog/o1_mf_2_7qcm7bk2_.log: 51M
./u01/app/oracle/fast_recovery_area/XE/onlinelog/o1_mf_1_7qcm773v_.log: 51M

What is the optimal size for a temp tablespace, and can i resize the current.

furthermore,  it says that ts_production is 11GB, in reality that shouldnt be anymore than 2 gigs worth of data.

most of my queries are to a remote server using ODBC,

in /tmp i get a sql.log transaction file that gets pretty big so i have to delete it every couple of days, but I am having a hard time understanding the rest of whats going on as far as space and how to remedy, any help or pointing in the right direction would be greatly appreciated. thanks
Senior Oracle DBA

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 2 Answers and 8 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 8 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros