- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Oracle 9i no file_id in dba_free_space
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
Discussions
Discussions
Forums
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
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
тАО07-31-2006 12:24 AM
тАО07-31-2006 12:24 AM
I am confised with this:
select file_id from dba_free_space where tablesapce_name like 'MMM';
But there is no row selected from the dba_free_space, although the index exists in dba_data_files...What do? Any ideas??
Thank you!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-31-2006 12:44 AM
тАО07-31-2006 12:44 AM
Re: Oracle 9i no file_id in dba_free_space
1) "tablespace_name" is misspelled in the query you gave.
2) Unless 'MMM' is the complete tablespace name, you need to use wildcards with the 'like' clause:
SELECT file_id
FROM dba_free_space
WHERE tablespace_name like '%MMM%';
3) Make sure you are logged in as a user with sufficient privileges to view 'dba_free_space'.
PCS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-31-2006 12:54 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-31-2006 12:57 AM
тАО07-31-2006 12:57 AM
Re: Oracle 9i no file_id in dba_free_space
Maybe I didn't explain the problem.
To each file name I should have a corresponding file id. This information is stored in dba_data_files.
Now, I want to see some other information stored in dba_free_space and I know (for example), that my file1 has an ID 1. Then I run this: "select bytes from dba_free_space where file_id=1" and get as result nothing, because there is no such file_id in the table...This is confusing me, because there should be such file_id.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-31-2006 01:06 AM
тАО07-31-2006 01:06 AM
Re: Oracle 9i no file_id in dba_free_space
It explains what you are seeing and gives the table joins you should be using.