DBAsupport.com Forums - Powered by vBulletin
Results 1 to 3 of 3

Thread: Locally managed Tablespaces

  1. #1
    Join Date
    Oct 2000
    Posts
    10

    Question

    In locally managed tablespaces... when a table takes another extent... does any information get put into the sys tables? If so which one?

    Which alter table (storage) commands are valid in a table that is in a locally managed tablespace?

    Thanks!


  2. #2
    Join Date
    Aug 2000
    Location
    Shanghai
    Posts
    433
    U may check out the dba_segment and dba_extend which tells u the size of next extend and current extend

  3. #3
    Join Date
    Feb 2001
    Location
    Bombay,India
    Posts
    530
    Hi,
    In a locally managed tablespace Oracle will update the bitmap tables which is stored in each datafile which consitute that tablespace.So whenever it has allocate a new extent it doesnot have to go to the system tablespace to find out the next available extent.It will automatically take it from the bitmap table in the datafile.No doubt it has to write to system tables whenever a new extent is allocated or deallocated but the I/) to the system tablespace is reduced to a great deal.
    It will put the information in dba_extents and dba_segements whenever an extent is allocated or deallocated.
    When u create a table or alter a table in a locally managed tablespace u cannot specify the default storage clause,minimum extent or temporary.Oracle will allocate the next extent with the uniform size of n(where n is the uniform size which u specify while creating the locally managed tablespace).

    CREATE TABLESPACE USERS DATAFILE 'c:\data\usersdata01.dbf' SIZE 10M
    EXTENT MANAGEMENT LOCAL UNIFORM SIZE 128K;

    This statement creates a locally managed tablespace in which every extent is 128K.

    In case of any help please be free to ask me at rohitsn@altavista.com

    Regards,
    Rohit Nirkhe,Oracle DBA,OCP 8i
    rohitsn@altavista.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width