|
Re: Understanding segment size [message #537427 is a reply to message #537421] |
Wed, 28 December 2011 05:23 |
John Watson
Messages: 8964 Registered: January 2010 Location: Global Village
|
Senior Member |
|
|
Database Concepts, chapter 12:
http://docs.oracle.com/cd/E11882_01/server.112/e25789/logical.htm#i8531
And here's a more comprehensive test for you:
conn / as sysdba
drop user jon cascade;
grant dba to jon identified by jon;
conn jon/jon
create table t1(c1 varchar2(10));
select segment_name,extents,blocks,bytes from user_segments;
select SEGMENT_NAME,EXTENT_ID,blocks,bytes from user_extents;
insert into t1 (select '0123456789' from dual connect by level < 2000);
select segment_name,extents,blocks,bytes from user_segments;
select SEGMENT_NAME,EXTENT_ID,blocks,bytes from user_extents;
insert into t1 (select '0123456789' from dual connect by level < 2000);
select segment_name,extents,blocks,bytes from user_segments;
select SEGMENT_NAME,EXTENT_ID,blocks,bytes from user_extents;
Does that help explain what is going on?
|
|
|
|