High Availability Data Guard, Sharding and Global Data Services (MOSC)

MOSC Banner

Size of table with where condition

Dears,   I need a SQL query, where I can know the size of a table, but not for all the records   Means, if I have a table with 320 GB containing data for 2010, 2011, 2012, 2013, 2014   I want to know the size of the table for the records only 2014   Select sum(bytes) from dba_segments where segment_name ='xxxx' will lead to all the table size Regards Claude

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center