Link to home
Start Free TrialLog in
Avatar of viviancpy
viviancpy

asked on

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

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.



ASKER CERTIFIED SOLUTION
Avatar of ypwitkow
ypwitkow

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of BobMc
BobMc

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
Avatar of viviancpy

ASKER

Thanks for your help, it works