Question about viewing "tree tablespace" [message #458132] |
Thu, 27 May 2010 09:46 |
Najdmr
Messages: 6 Registered: May 2010
|
Junior Member |
|
|
Hi,
I am a university student and have an assignment, I solved all the questions but have one point I don't anything about it.
Here is the question:
Develop a system that allows a user to login and visualize various information on Oracle Server.
At a minimum the system should allow a user to:
...
...
...
4. Display the tree tablespaces and information about tablespaces and datafiles
...
...
..
Would appreciate if any one can help on that.
Thanks,
[Updated on: Thu, 27 May 2010 09:54] by Moderator Report message to a moderator
|
|
|
|
|
|
|
Re: Question about viewing "tree tablespace" [message #458137 is a reply to message #458132] |
Thu, 27 May 2010 09:57 |
Najdmr
Messages: 6 Registered: May 2010
|
Junior Member |
|
|
i want to list tree representation of tablespaces and i want to view the details of this tablespaces and datafiles
any suggestions please????
i know that i have to query dba_data_file
but how can i display the result as hirarical view of tablespaces
i didn't get the point of our instructor
|
|
|
|
|
|
Re: Question about viewing "tree tablespace" [message #458145 is a reply to message #458137] |
Thu, 27 May 2010 10:10 |
Najdmr
Messages: 6 Registered: May 2010
|
Junior Member |
|
|
sorry people i didn't see your posts ,,
i think the instructor point is that i should display them in Hierarchical display of the tablespaces and datafiles
i asked the instructor if he was mistaken with the name "Tree" but he said "no i ment tree !! :("
|
|
|
Re: Question about viewing "tree tablespace" [message #458146 is a reply to message #458145] |
Thu, 27 May 2010 10:16 |
Najdmr
Messages: 6 Registered: May 2010
|
Junior Member |
|
|
Quote:As per my understading; you whould have to check Hierarchical display of the tablespaces and datafiles (like Tablespace free/used space, status of tablespace , current size etc.. etc.. ). Once again check with your assigne.
Exactly ,, i wrote my post befor seeing yours,
you mean that hi have to make the following query:
col file_name format a50
col tablespace_name format a10
SELECT file_name, tablespace_name, ROUND(bytes/1024000) MB,status
FROM dba_data_files
ORDER BY 1;
|
|
|
|
|