Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

USER_SEGMENTS do not works

francy77Oct 25 2012 — edited Oct 29 2012
Hi all,
I've created this table:
CREATE TABLE MISURA_BYTE (
 KEY_ID_EVENTO       VARCHAR2(5),
 CAMPO VARCHAR2(2)
 )
 
try to see how bytes has been allocated to it:
select * from USER_SEGMENTS  where segment_name='MISURA_BYTE'
getting:
SQL> select tablespace_name,bytes,blocks from USER_SEGMENTS  where segment_name='MISURA_BYTE';

TABLESPACE_NAME                     BYTES     BLOCKS
------------------------------ ---------- ----------
USERS                               65536          8
insert some row:
INSERT INTO MISURA_BYTE VALUES ('12345','1') 
INSERT INTO MISURA_BYTE VALUES ('12345','1') 
INSERT INTO MISURA_BYTE VALUES ('12345','1') 
INSERT INTO MISURA_BYTE VALUES ('12345','1') 
INSERT INTO MISURA_BYTE VALUES ('12345','1') 
INSERT INTO MISURA_BYTE VALUES ('12345','1') 
INSERT INTO MISURA_BYTE VALUES ('12345','1') 
but the byte indicated are the same:
SQL> select tablespace_name,bytes,blocks from USER_SEGMENTS  where segment_name='MISURA_BYTE';

TABLESPACE_NAME                     BYTES     BLOCKS
------------------------------ ---------- ----------
USERS                               65536          8
why this happen, i need to know the really byte allocated, and how it grows when some row are inserted. It is possible?

thanks
F.
This post has been answered by rcc50886 on Oct 25 2012
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 26 2012
Added on Oct 25 2012
17 comments
758 views