Last active
October 20, 2017 11:11
-
-
Save den-kozlov/5758eb729fd41643d8f0e251fdf77086 to your computer and use it in GitHub Desktop.
Oracle Table Size
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT owner | |
, segment_name | |
, segment_type | |
, tablespace_name | |
, bytes / 1048576 MB | |
, initial_extent | |
, next_extent | |
, extents | |
, pct_increase | |
FROM DBA_SEGMENTS | |
WHERE OWNER = NVL(:table_owner, OWNER) AND SEGMENT_NAME = NVL(:table_name, SEGMENT_NAME) AND SEGMENT_TYPE = 'TABLE' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment