?
Solved

** Simple Question, pls help ** : Check Quota Usage for an account

Posted on 2003-03-30
3
Medium Priority
?
995 Views
Last Modified: 2013-12-11
I am new to Oracle, hope that you will help me to answer this easy question. Thanks.

I would like to check the usage of an oracle account. I know i can use "select * from user_ts_quotas" to check space allocated for an account, but don't know how to check how much space has already used for an oracle account. What i want is something like "quota -v" for an unix account or a file that can show the usage situation for an account.



0
Comment
Question by:viviancpy
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 2

Accepted Solution

by:
ypwitkow earned 60 total points
ID: 8237619
SELECT sum(bytes)/1024
from dba_segments
WHERE owner = 'USERNAME';

Greetings,
Lucy
0
 
LVL 7

Expert Comment

by:BobMc
ID: 8247571
You can also use dba_ts_quotas, which among others, has two columns
MAX_BYTES - gives the allocated quota (or -1 for unlimited)
BYTES - the actual usage.

These will have one row per tablespace per user.

Bob
0
 

Author Comment

by:viviancpy
ID: 8361434
Thanks for your help, it works
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Why doesn't the Oracle optimizer use my index? Querying too much data Most Oracle developers know that an index is useful when you can use it to restrict your result set to a small number of the total rows in a table. So, the obvious side…
This post first appeared at Oracleinaction  (http://oracleinaction.com/undo-and-redo-in-oracle/)by Anju Garg (Myself). I  will demonstrate that undo for DML’s is stored both in undo tablespace and online redo logs. Then, we will analyze the reaso…
This video shows setup options and the basic steps and syntax for duplicating (cloning) a database from one instance to another. Examples are given for duplicating to the same machine and to different machines
This video shows how to Export data from an Oracle database using the Datapump Export Utility.  The corresponding Datapump Import utility is also discussed and demonstrated.
Suggested Courses

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question