- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Know the size of Each schema contain ....
Operating System - HP-UX
1753803
Members
7913
Online
108805
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
тАО02-25-2008 03:18 AM
тАО02-25-2008 03:18 AM
Know the size of Each schema contain ....
Hi,
we have HP9000 server(B.11.11),in that we have ORACLE 10G, only one DATABASE, in that different schemas.
i want to know the size of Each schema contain.
Thanks
Ramana
we have HP9000 server(B.11.11),in that we have ORACLE 10G, only one DATABASE, in that different schemas.
i want to know the size of Each schema contain.
Thanks
Ramana
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-26-2008 10:34 AM
тАО02-26-2008 10:34 AM
Re: Know the size of Each schema contain ....
Your best bet is to go to http://tahiti.oracle.com and read up on how to work with Oracle.
In the mean time some hints for you:
DBA_SEGMENTS columns of interest:
OWNER, SEGMENT_NAME, BYTES
-klb
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-26-2008 09:39 PM
тАО02-26-2008 09:39 PM
Re: Know the size of Each schema contain ....
hi Ramana,
You can try something similar to this:
admin@mydb.mu>r
1 select t.owner, sum(s.bytes)/1024/1024 MBYTE
2 from dba_tables t, dba_segments s
3 where t.owner = s.owner
4 and t.table_name = s.segment_name
5 and t.owner not in ('SYS','SYSTEM','OUTLN')
6 and s.bytes > 50000000
7 group by t.owner
8* order by MBYTE desc
OWNER MBYTE
______________________________ ____________
MORIS1 19,278
RODRIGU 5,433
DIEGO_01 127
Elapsed: 00:00:00.42
admin@mydb.mu>
heop this helps!
kind regards
Yogeeraj
You can try something similar to this:
admin@mydb.mu>r
1 select t.owner, sum(s.bytes)/1024/1024 MBYTE
2 from dba_tables t, dba_segments s
3 where t.owner = s.owner
4 and t.table_name = s.segment_name
5 and t.owner not in ('SYS','SYSTEM','OUTLN')
6 and s.bytes > 50000000
7 group by t.owner
8* order by MBYTE desc
OWNER MBYTE
______________________________ ____________
MORIS1 19,278
RODRIGU 5,433
DIEGO_01 127
Elapsed: 00:00:00.42
admin@mydb.mu>
heop this helps!
kind regards
Yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-06-2008 12:27 PM
тАО03-06-2008 12:27 PM
Re: Know the size of Each schema contain ....
Hi,
I would use dba_segments only and group by SEGMENT TYPE in addition, to get Indexes in addition (i have a 100GB table that has 290GB Indexes assigned to it !)
select
owner,segment_type,
sum(bytes)/1024/1024/1024 as GB
from dba_segments
group by
owner,segment_type
order by 1,2,3;
Shows you common used Storage (i.e. rollback/undo ans SYS objects) in addition.
Watch it, there is a bug in 10.2.0.2 which does not show the truth in BYTES or BLOCKS from dba_segments in some cases, even if stats are calculated.
Volker
I would use dba_segments only and group by SEGMENT TYPE in addition, to get Indexes in addition (i have a 100GB table that has 290GB Indexes assigned to it !)
select
owner,segment_type,
sum(bytes)/1024/1024/1024 as GB
from dba_segments
group by
owner,segment_type
order by 1,2,3;
Shows you common used Storage (i.e. rollback/undo ans SYS objects) in addition.
Watch it, there is a bug in 10.2.0.2 which does not show the truth in BYTES or BLOCKS from dba_segments in some cases, even if stats are calculated.
Volker
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP