0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

Oracle で、スキーマ毎の利用容量を一覧で取得したい

Posted at

Oracleで、スキーマ毎に利用している容量を知りたい。

……んだけど、なぜか、where 文でいちいちスキーマを指定する方法のクエリしか見つからない。探し方悪いかも、なんだけど。

別に大したことしていないんだけど、owner で group by しただけなんだけど、これでスキーマ毎に表示してくれる。

select owner,sum(bytes)/(1024*1024) "SIZE[M]" from dba_segments group by owner;
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?