Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 546
  • Last Modified:

Oracle Space Issue | AIX

Experts -

I do see space mismatch as below. What happens when the mount /dwdata reaches 100%. But I still have enough space at the DB level.  This is a PROD I just cannot bounce the DB.

We dropped a tablepace worth of 1TB, which is not reflecting at the OS level commands.

$ df -g /dwdmdata
Filesystem    GB blocks      Free %Used    Iused %Iused Mounted on
/dev/fslv03     6000.00    236.65   97%      609     1% /dwdata


$ cd /dwdata
$ du -gs .
5762.17 .

Real Used at DB level

SQL> select sum(bytes)/1024/1024/1024 GB from dba_data_Files where FILE_NAME like '/dwdata%';

        GB
----------
4612.54259


thanks,
sve.
0
sventhan
Asked:
sventhan
4 Solutions
 
Devinder Singh VirdiLead Oracle DBA TeamCommented:
Are Temp files in same location?
0
 
sventhanAuthor Commented:
No. They're in a different location.
0
 
MikeOM_DBACommented:
We dropped a tablepace worth of 1TB, which is . . .
Did you do it "INCLUDING CONTENTS AND DATAFILES"? if not, remember to also remove the files.
;)
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
sventhanAuthor Commented:
When I dropped the tablespace was empty no objects were associated with it. But I did not use the "including" clause.

Will that be an issue?

If we bounce the DB, will df/du reflect the correct numbers?
0
 
MikeOM_DBACommented:
You may need to use OS command to remove the files related to the dropped tablespace.
And if "df" command does not reflect the change, then just close and open the database.
0
 
sventhanAuthor Commented:
when drop the tablespace with "drop tablespace tablespacename" command, the associated datafiles will not be dropped automatically. Is this true?

Thanks for the help.
0
 
MikeOM_DBACommented:
True, datafiles only removed with the "DROP TABLESPACE ... INCLUDE...DATAFILES" otherwise you need to remove the files using the "rm {file name}" OS command.
0
 
johnsoneSenior Oracle DBACommented:
Once you remove the files at the OS level, then if the space is still not showing up in df, then run this:

sync ; sync ; sync

That may need to be run as root, but you can try as oracle.  That syncs the file system headers and the space should show up at that point.  You should not need to bounce the database.
0
 
sventhanAuthor Commented:
Thanks Virdi, Mike and John. I'll try this tonight
0
 
sventhanAuthor Commented:
Thanks
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now