SQL Language (MOSC)

MOSC Banner

Is it possible to see how much space 1000 000 rows take?

edited Feb 21, 2012 11:35PM in SQL Language (MOSC) 6 commentsAnswered ✓
Hi,
I try to view the space usage of 1000 000 rows.

I try this:

select a.segment_name, sum(bytes)/1024/1024 MB, b.rowid from dba_segments a, DW.mytable b where a.segment_name='DW.mytable'
and b.rowid<1000000;

I get an ORA-00932 back. "Expected ROWID but got number".

How do I do this?

Regards
U

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