- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- capacity of raw file
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2005 05:21 PM
10-18-2005 05:21 PM
After few month, How can I check the emained data.I can not figure out due to file system.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2005 05:37 PM
10-18-2005 05:37 PM
Re: capacity of raw file
Are you talking about the df and du commands.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2005 06:07 PM
10-18-2005 06:07 PM
Re: capacity of raw file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2005 06:16 PM
10-18-2005 06:16 PM
Re: capacity of raw file
We do have some here in forum so wait till you get some feedback from them. :)
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2005 06:23 PM
10-18-2005 06:23 PM
Re: capacity of raw file
U can get the same from oracle application only by query. for that esclate this to oracle forums .
From unix u can try dd command, give if= your raw partition name & take a backup to some tape of= tape name . After finishing u will get a message that so many records in & Out , by this way u can count the usages.
Best is close this case here & esclate the same to oracle forum
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2005 07:38 PM
10-18-2005 07:38 PM
Re: capacity of raw file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2005 01:19 AM
10-19-2005 01:19 AM
Re: capacity of raw file
This is one of the reasons that raw volumes are VERY difficult to manage. You can't backup the volumes with any normal tool like tar or cpio. You can use dd but the result is just a bunch of sectors stored on the tape with no documentation (like date, time, source, etc). The difference in performance between raw and filesystem databases is almost negligible today so I would recommend not using raw volunes in favor of easy system administration.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2005 05:20 AM
10-19-2005 05:20 AM
SolutionJust to get an idea of what you're looking for , from sqlplus do the following:
select * from dba_data_files;
You'll see all the files listed there, look for the one that you want to check out (by file_name - which will look like your /dev/vgxx/lvolxx) and remember the file_id.
Then from sqlplus - run the following:
select
FILE_NAME, ddf.tablespace_name TABLESPACE, ddf.bytes/(1024*1024) MB_AVAIL,
(ddf.bytes - dfs.bytes)/(1024*1024) MB_USED,
dfs.bytes/(1024*1024) MB_FREE,
round(((ddf.bytes - dfs.bytes)/ddf.bytes)*100) PCT_USED
from dba_data_files ddf, dba_free_space dfs
where ddf.file_id = dfs.file_id
and ddf.file_id = &file_id;
Enter the file_id(from before) when it prompts you to, and the output will tell you how much of the lvol you've used thus far. If you leave off the last line, it will report the usage for all datafiles(raw, in this case).
Or, you could just hook up Oracle Enterprise Manager and have a look at it graphically in there...
:-)
Lastly, the above query DOESN'T answer the question as to whether or not you need to add datafiles! This only answers the question as to whether or not a datafile(lvol in this case) is full. Whether or not more needs to be added depends on whether or not the tablespace is nearly full. You could have two datafiles for the same tablespace, one full, the other 1/2 full with 512MB free: meaning that you probably don't need to add more datafiles, unless you're consuming more than 512MB for the evaluation period(this day, this week, this month, etc).