Excessive LOBSEGMENT size and number of extents

I am running a procedure to load a large number of records ( >1million). The records that I am loading has only a few columns including an XMLTYPE column containing the data from an XML file of size 10k. After reaching the 1 million mark, the size of the LOBSEGMENT associated with the XMLTYPE column is nearing 20GB and has nearly 600 extents! I understand that "auto" segment mgmt is the cause for the number of extents, but why is the LOBSEGMENT SO LARGE???
Thanks in advance for any suggestions or ideas...
Below are the tablespace settings:
BLOCK_SIZE : 8192
INITIAL_EXTENT : 65536
NEXT_EXTENT :
MIN_EXTENTS : 1
MAX_EXTENTS : 2147483645
PCT_INCREASE :
MIN_EXTLEN : 65536
STATUS : ONLINE
CONTENTS : PERMANENT
LOGGING : NOLOGGING
FORCE_LOGGING : NO
EXTENT_MANAGEMENT : LOCAL
ALLOCATION_TYPE : SYSTEM
PLUGGED_IN : NO
SEGMENT_SPACE_MANAGEMENT : AUTO
DEF_TAB_COMPRESSION : DISABLED
RETENTION : NOT APPLY
BIGFILE : NO

Yay, we're almost done :)
TEST.SQL>create table yjam.tablename (a number);
Table created.
TEST.SQL>create table cds.tablename (a number);
Table created.
TEST.SQL>SELECT EXTENTS, (bytes/1024/1024) MB FROM user_segments u
  2  WHERE segment_type = 'TABLE'
  3  AND u.segment_name = 'TABLENAME'
  4  /
no rows selected
TEST.SQL>l1
  1* SELECT EXTENTS, (bytes/1024/1024) MB FROM user_segments u
TEST.SQL>c:user:dba
  1* SELECT EXTENTS, (bytes/1024/1024) MB FROM dba_segments u
TEST.SQL>/
   EXTENTS         MB
         1         ,5
         1          5Yoann, in a kidding mood.

Similar Messages

  • Size and number of extent

    Hi,
    how to see the size (in Mbyte) and the number of the extents of a table ?
    many thanks.

    Yay, we're almost done :)
    TEST.SQL>create table yjam.tablename (a number);
    Table created.
    TEST.SQL>create table cds.tablename (a number);
    Table created.
    TEST.SQL>SELECT EXTENTS, (bytes/1024/1024) MB FROM user_segments u
      2  WHERE segment_type = 'TABLE'
      3  AND u.segment_name = 'TABLENAME'
      4  /
    no rows selected
    TEST.SQL>l1
      1* SELECT EXTENTS, (bytes/1024/1024) MB FROM user_segments u
    TEST.SQL>c:user:dba
      1* SELECT EXTENTS, (bytes/1024/1024) MB FROM dba_segments u
    TEST.SQL>/
       EXTENTS         MB
             1         ,5
             1          5Yoann, in a kidding mood.

  • Documents, storage size and number of members (in Workspaces)

    Greetings!
    Is there any limit on the number of documents, storage size and number of members?
    If positive, how can I expand this?
    Thanks in advance.

    There is no limit to the number of documents or the number of members.
    At this time, we are providing 5 GB of storage, but there is no way to purchase additional space.

  • How u will set the external parameters like packet size and number

    How u will set the external parameters like packet size and number of parallel process.

    Dear Karthik,
    <b>ALE:</b>    
    Use Transaction UPSC02         -      ALE Distribution Unit: Packet Types.
    Performance Optimization for <b>ODS</b> Objects:
    To ensure a good ODS object loading performance, take the following into account:
           1.      Creating SIDs
    The creation of SIDs takes a long time and can be avoided in the following cases by:
           Not setting the indicator for BEx Reporting if you are using the ODS object only as a data store. If you do set this indicator, SIDs are created for all new characteristic values.
           If you use line items (for example, document number or time stamp) as characteristics in the ODS object, in the characteristic maintenance, indicate these as Attribute Only.
    SIDs are created in parallel if <b>parallel activation</b> is switched on (see last point). They are then created with the same number of parallel processes as created for the activation.
    However, if you specify a server group or a special server in customizing, these specifications are not only valid for the activation, but also for the SID creation. The creation of SIDs runs on the application server on which the batch job also runs.
           2.      DB partitioning in active data tables (technical A table)
    By partitioning by database level, you can delete data from the ODS object much more quickly. As a partitioning criterion, choose the characteristic by which you want to delete.  For more information on partitioning database tables, see the database documentation (DBMS-CD). Partitioning is supported by the following databases: Oracle, DB2/390, Informix.
           3.      Indexing
    Use selection criteria for queries for ODS objects. If the key fields are specified, the existing primary index is used. The more frequently accessed characteristic should appear on the left-hand side.
    If you did not specify the key fields completely in the selection criteria (visible in the SQL trace), you improve the run time of the query by creating additional indexes. You can create these secondary indexes in the ODS object maintenance.
           4.      Activation of data in an ODS object
    To improve system performance when activating data in the ODS object, you can make the following entries in Customizing under SAP Customizing Implementation Guide -> SAP NetWeaver -> Business Information Warehouse -> General BW Settings ->  ODS Object Settings:
           the maximum number of parallel processes when activating data in the ODS object as when moving SIDs
           the minimum number of data records for each data package when activating data in the ODS object, meaning you define the size of the data packages that are activated
           the maximum wait time in seconds when activating data in the ODS object. This is the time when the main process (batch process) waits for the dialog process that is split before it classifies it as having failed.
           the server group that needs to be used when activating the data in ODS objects in parallel You have to create the server groups beforehand using the following path: Tools -> Administration -> Network -> RFC Destination, RFC -> RFC Groups. If you do not specify anything here, then the activation runs on the server on which the batch process was started for activation. If a server from the server group is not active, then the activation is cancelled.
           5.      Loading unique data records
    If you only load unique data records (meaning data records with nonrecurring key combinations) into the ODS object, then the loading performance is improved when you set the indicator Unique Data Records in the ODS object maintenance.
    The records are then updated more quickly because the system no longer needs to check whether the record already exists. You do have to be sure that there duplicate records are definitely not being loaded, because this will lead to termination.
    Regards,
    Naveen.

  • What is the size and number of documents we can upload to a document library at one time

    HI
    what is the size and number of documents we can upload to a document library at one time.
    like we have scenario , we developed a custom solution to scan and upload documents to sharepoint sites doc library.
    here we face issues when user try to upload 100 documents with the size of each doc 2-3 MB, at one time.
    adil

    Hi Adil,
    The maximum number and size of documents to upload in a document library is determined by a setting in Central administration. You can go to Central administration -> Application Management -> Manage Web Applications -> Select the Web Application
    -> Click on General Settings in the ribbon. Scroll down and you will see "Maximum Upload Size" section. The maximum value that can be set is 2047 MB. 
    Blog | SharePoint Learnings CodePlex Tools |
    Export Version History To Excel |
    Autocomplete Lookup Field

  • Column size and number of chars

    I have fixed Jtables column header size.
    when I put a large text in this colums ,half of text is hidden. I know this problem is solved with setAutoResizeMode, bat I don't wont to use it.
    I wont to know how many chars can I put in this column(with fixed size),
    How can I return number Of chars or length or text which can be possible tu put fixed columean size?

    Well, you can do something like (untested)
    TableColumnModel tcm = table.getColumnModel();
    TableColumn col = tcm.getColumn( n );
    int cw = col.getMaxWidth();
    String st = col.getHeaderValue().toString();
    JTableHeader header = table.getTableHeader();
    FontMetrics fm = header.getFontMetrics( header.getFont() );
    for( int sw = fm.stringWidth( st ); sw > cw; ) {
         st = st.substring( 0, st.length()-1 );
         sw = fm.stringWidth( st );
    col.setHeaderValue( st );That should at least give you some ideas.

  • How to calculate the size and number of nodes in the btree?

    I need to determine the size of the btree nodes in the log file and the how many internal and leaf nodes in the btree. For example if I have 2.88M records approximately how much disk space is used up by the JE's internal structures? This info will help me determine the best size of the data records.

    Chad,
    Keys are stored in order in the btree. They are ordered by the custom comparator if one is used, otherwise by the default (unsigned byte) comparator.
    Key prefixing (when it is available -- remember that we're talking about a future feature here) reduces memory and disk space for the adjacent keys in a Btree node when the initial bytes of those keys are in common.
    If your keys that are adjacent (according to your custom comparator) don't have common bytes at the front, then key prefixing won't have any advantage.
    --mark                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • VMX20 - Limit virtual machine log file size and number

    Hi all,
    Here is parameter file
    log.rotateSize=1000000
    log.keepOld=10
    that I have apply on virtual machine VMX. After I run the compliance checker again and it still showing fail.
    I also have try restart the virtual machine machine few time but the log file keep increase.
    For my understanding if we apply this parameter setting once the virtual machine log file over 1,000kb or 10 log file the new log file will replace the old one, correct me if Ii wrong.
    Here is my question
    1. Did the parameter file have restrict on any version of VMware?
    2. If the log file less than 1,000kb and it already have 10 log file, so the new log file will still replace the old log file?
    Thk.
    Best regards.
    Wong Pak Lian

    Hi a_nut_in,
    The problem have been solved in VMware vsphere version 5 with compliance checker for vsphere 5.0.
    But under VMware vsphere version 4 I have found out the parameter is ok and workable but the results is still showing fail, will this is software bug?
    Thk.
    Best regards.
    Wong Pak Lian

  • SQL to check number of extents avail for a segment in a tbs

    Does anyone have SQL to compare a segment's next_extent to the size and number of free chunks in dba_free_space? Currently I am taking the next_extent * some factor (e.g. 4) and comparing it the SUM of space in dba_free_space. However, the problem with this is it does not account for the size of the free chunks.
    Thanks.

    I have some good sql for managing this stuff. I'll email it to you tomorrow.

  • In the new iOS-7 Safari, has the "reader" function been changed to eliminate the option to modify font size (and hence to modify the number of words per line), or is it just that I can't find how to do that?

    In the new iOS-7 Safari, has the "reader" function been changed to eliminate the option to modify font size (and hence to modify the number of words per line), or is it just that I can't find how to do that?

    iOS 7
    Seperate text size modification is no longer available in Safari Reafer.
    Use Settings.
    Settings >General > Text Size

  • Those that have successfully downloaded mac lion please write the md5, sha1, exact file size and the version number, please.

    those that have successfully downloaded mac lion please write the md5, sha1, exact file size and the version number, please.

    This is how, for instance, on a flsh drive:
    http://lifehacker.com/5823096/how-to-burn-your-own-lion-install-dvd-or-flash-dri ve

  • How to find Average transaction size and average number of transactions/sec

    Would like to know
    1. how to find average transaction size
    2. number of transactions per sec
    using SQL queries. We also have statspack installed.
    Regards,
    Anirban

    SQL> select maxval,minval,average from SYS.V_$SYSMETRIC_SUMMARY where metric_name in ('User Transaction Per Sec');
    MAXVAL MINVAL AVERAGE
    .7 0 .149170735
    SYS.V_$SYSMETRIC_SUMMARY have to many other metrics check the one you need. (10G and above)
    Coskan Gundogar
    http://coskan.wordpress.com
    Edited by: coskan on Mar 31, 2009 12:42 PM

  • What is the default font size and font number used in OBIEE piechar Legend

    Hi Experts,
    What is the default font size and font number used in OBIEE pie-chart Legend
    Thanks
    V

    The default is font size 11, Tahoma.

  • Unable to open file "NULL\.EXT" - default sizes assumed for initial extents

    Dear Friends i am trying to install IDES 4.6C on Windows 2000 Advance server + MSSQL2000 this error i am facing during installation all of the installation files are on my D:\ drive following is the structure.
    D:\DBExport\DB
    D:\DBExport\Data
    D:\DBExport\LABEL.ASC
    and kernal also on D:\ drive.
    this is the error number one which i got
    Error: DBR3LOADEXEC_NT_MSS R3loadPrepare 2 722
    Child exited with error: rc = 2
    child_pid = 1
    See logfile SAPAPPL2.log for further information
    and here is the associated log file.
    #START OF LOG: 20060123112519
    R3load version @(#) $Id: //bas/46D/src/ins/R3load/R3load.c#12 $ SAP
    R3load -fast -i SAP0000.cmd -p SAP0000.log
    start of syntax check ###
    end of syntax check ###
    #START: 20060123112520
    error message: No such file or directory
    (GOS) WARNING: Unable to open file "NULL\.EXT" - default sizes assumed for initial extents
    (OLD) ERROR: CREATE statement failed for object "D010L"
         (CREATE TABLE "D010L" ( "PROG" VARCHAR(40) NOT NULL ,
    "R3STATE" VARCHAR(1) NOT NULL , "R3MODE" VARCHAR(1) NOT NULL ,
    "R3VERSION" VARCHAR(4) NOT NULL , "MACH" SMALLINT NOT NULL ,
    "BLOCKNR" TINYINT NOT NULL , "BLOCKLG" DECIMAL(5,0) NOT NULL ,
    "BLOCK" IMAGE NULL  )
    exec sp_bindefault 'str_default','D010L.PROG'
    exec sp_bindefault 'str_default','D010L.R3STATE'
    exec sp_bindefault 'str_default','D010L.R3MODE'
    exec sp_bindefault 'str_default','D010L.R3VERSION'
    exec sp_bindefault 'num_default','D010L.MACH'
    exec sp_bindefault 'num_default','D010L.BLOCKNR'
    exec sp_bindefault 'num_default','D010L.BLOCKLG'
    DbSlExecute: rc = 106
    (SQL error 2714)
    error message returned by DbSl:
    There is already an object named 'D010L' in the database.
    #STOP: 20060123112520
    #START OF LOG: 20060123152536
    R3load version @(#) $Id: //bas/46D/src/ins/R3load/R3load.c#12 $ SAP
    R3load -fast -i SAP0000.cmd -p SAP0000.log -r
    start of syntax check ###
    end of syntax check ###
    trying to restart import ###
    (RIM) INFO: table "D010L" dropped
    restart finished ###
    #START: 20060123152552
    error message: No such file or directory
    (GOS) WARNING: Unable to open file "NULL\.EXT" - default sizes assumed for initial extents
    (IMP) TABLE: "D010L"
    #Trying to create primary key "D010L~0"
    (IMP) PRKEY: "D010L~0"
    (OLD) ERROR: CREATE statement failed for object "D010LINF"
         (CREATE TABLE "D010LINF" ( "PROG" VARCHAR(40) NOT NULL ,
    "R3STATE" VARCHAR(1) NOT NULL , "R3MODE" VARCHAR(1) NOT NULL ,
    "R3VERSION" VARCHAR(4) NOT NULL , "MACH" SMALLINT NOT NULL ,
    "R3RELEASE" VARCHAR(4) NOT NULL , "R3MODIFY" INT NOT NULL ,
    "UNAM" VARCHAR(12) NOT NULL , "UDAT" VARCHAR(8) NOT NULL ,
    "UTIME" VARCHAR(6) NOT NULL , "L_DATALG" INT NOT NULL ,
    "Q_DATALG" INT NOT NULL , "Y_DATALG" INT NOT NULL , "SDAT" VARCHAR(8) NOT NULL ,
    "STIME" VARCHAR(6) NOT NULL  )
    exec sp_bindefault 'str_default','D010LINF.PROG'
    exec sp_bindefault 'str_default','D010LINF.R3STATE'
    exec sp_bindefault 'str_default','D010LINF.R3MODE'
    exec sp_bindefault 'str_default','D010LINF.R3VERSION'
    exec sp_bindefault 'num_default','D010LINF.MACH'
    exec sp_bindefault 'str_default','D010LINF.R3RELEASE'
    exec sp_bindefault 'num_default','D010LINF.R3MODIFY'
    exec sp_bindefault 'str_default','D010LINF.UNAM'
    exec sp_bindefault 'str_default','D010LINF.UDAT'
    exec sp_bindefault 'str_default','D010LINF.UTIME'
    exec sp_bindefault 'num_default','D010LINF.L_DATALG'
    exec sp_bindefault 'num_default','D010LINF.Q_DATALG'
    exec sp_bindefault 'num_default','D010LINF.Y_DATALG'
    exec sp_bindefault 'str_default','D010LINF.SDAT'
    exec sp_bindefault 'str_default','D010LINF.STIME'
    DbSlExecute: rc = 106
    (SQL error 2714)
    error message returned by DbSl:
    There is already an object named 'D010LINF' in the database.
    #STOP: 20060123152556
    #START OF LOG: 20060123154952
    R3load version @(#) $Id: //bas/46D/src/ins/R3load/R3load.c#12 $ SAP
    R3load -fast -i SAP0000.cmd -p SAP0000.log -r
    start of syntax check ###
    end of syntax check ###
    trying to restart import ###
    (RIM) INFO: table "D010LINF" dropped
    restart finished ###
    #START: 20060123154955
    (IMP) TABLE: "D010LINF"
    #Trying to create primary key "D010LINF~0"
    (IMP) PRKEY: "D010LINF~0"
    (OLD) ERROR: CREATE statement failed for object "D010Q"
         (CREATE TABLE "D010Q" ( "PROG" VARCHAR(40) NOT NULL ,
    "R3STATE" VARCHAR(1) NOT NULL , "R3MODE" VARCHAR(1) NOT NULL ,
    "R3VERSION" VARCHAR(4) NOT NULL , "MACH" SMALLINT NOT NULL ,
    "BLOCKNR" TINYINT NOT NULL , "BLOCKLG" DECIMAL(5,0) NOT NULL ,
    "BLOCK" IMAGE NULL  )
    exec sp_bindefault 'str_default','D010Q.PROG'
    exec sp_bindefault 'str_default','D010Q.R3STATE'
    exec sp_bindefault 'str_default','D010Q.R3MODE'
    exec sp_bindefault 'str_default','D010Q.R3VERSION'
    exec sp_bindefault 'num_default','D010Q.MACH'
    exec sp_bindefault 'num_default','D010Q.BLOCKNR'
    exec sp_bindefault 'num_default','D010Q.BLOCKLG'
    DbSlExecute: rc = 106
    (SQL error 2714)
    error message returned by DbSl:
    There is already an object named 'D010Q' in the database.
    #STOP: 20060123154956
    #START OF LOG: 20060123162918
    R3load version @(#) $Id: //bas/46D/src/ins/R3load/R3load.c#12 $ SAP
    R3load -fast -i SAP0000.cmd -p SAP0000.log -r
    start of syntax check ###
    end of syntax check ###
    trying to restart import ###
    (RIM) INFO: table "D010Q" dropped
    restart finished ###
    #START: 20060123162920
    (IMP) TABLE: "D010Q"
    #Trying to create primary key "D010Q~0"
    (IMP) PRKEY: "D010Q~0"
    (IMP) ERROR: CREATE statement failed for object "D010Y"
         (CREATE TABLE "D010Y" ( "PROG" VARCHAR(40) NOT NULL ,
    "R3STATE" VARCHAR(1) NOT NULL , "R3MODE" VARCHAR(1) NOT NULL ,
    "R3VERSION" VARCHAR(4) NOT NULL , "MACH" SMALLINT NOT NULL ,
    "BLOCKNR" TINYINT NOT NULL , "BLOCKLG" DECIMAL(5,0) NOT NULL ,
    "BLOCK" IMAGE NULL  )
    exec sp_bindefault 'str_default','D010Y.PROG'
    exec sp_bindefault 'str_default','D010Y.R3STATE'
    exec sp_bindefault 'str_default','D010Y.R3MODE'
    exec sp_bindefault 'str_default','D010Y.R3VERSION'
    exec sp_bindefault 'num_default','D010Y.MACH'
    exec sp_bindefault 'num_default','D010Y.BLOCKNR'
    exec sp_bindefault 'num_default','D010Y.BLOCKLG'
    DbSlExecute: rc = 106
    (SQL error 2714)
    error message returned by DbSl:
    There is already an object named 'D010Y' in the database.
    #STOP: 20060123162921
    I am really struck with the installation any help will be highly appreciated.
    best regards,
    Zeeshan

    Hi:
    It seemed to me that you put the wrong directory or drive when started the installation. It shows "error message: No such file or directory" when trying to locate the files.
    You can try to verify your inputs during first phase of the installation.
    Hope this helps!
    Best Regards,
    Federico G. Babelis
    NetWeaver Certified Consultant
    http://www.gazum.com

  • Maximum number of extents

    I have read that a big number of extents might not be a problem but I have some tables with very big number of extents.
    For example I have a table which size is 23 gB and has 190000 extents.
    Can this big numebr of extents affect performance?
    The table has 262 million records.
    It's an 11g 11.2.0.2 database (migrated from 10g).
    We are looking at the number of extents becuase we are encountering performance problems => some jobs on this table are very slow and showing huge waits on "db file sequential read".
    We recently also changed DB_FILE_MULTIBLOCK_READ_COUNT parameter to stick with Oracle's default (we unset it, Oracle set it to 128 by himself).

    user11181920 wrote:
    23G / 190000 ~= 128K average extent size which quite small.
    your DB_FILE_MULTIBLOCK_READ_COUNT is 128 blocks and block size is most likely 8K.
    DB_FILE_MULTIBLOCK_READ_COUNT ~= 1MB
    this means on full table scans/index scans oracle will read by 128K chunks if extents are not adjacent, where on larger extents it would read by 1MB.
    for indexed access an extent size would not matter.
    I would do tuning of jobs to use index access, if it is impossible do a defrag.Aren't the waits described a symptom of already using indices?
    What's all this about defrag?
    It could be they are using the wrong index, could be simply too much work is being done, could be some other processes are doing too much unnecessary work, etc.
    I think this calls for AWR or Statspack to get an overall idea what is wrong, and the usual tuning methodology for the problem queries and and any that the reports show as suspect (or anything else curious that shows up).
    Also, was this table always LMT or was it converted at some point? (Which could be a legitimate reorg issue)
    Also, how was the data loaded? See http://www.oracle.com/technetwork/issue-archive/2007/07-may/o37asktom-101781.html for the context of that question.
    >
    Edited by: user11181920 on Aug 17, 2012 10:45 AM

Maybe you are looking for

  • Execute unix command in abap code

    Hi, I have a request to execute a script command in a remote unix server, should i use 'call function ...destination'? Thanks. Legend.

  • Icloud storage jam

    Good afternoon, Please excuse me if this problem was discussed , I'm not very familiar with Apple community. So , I have an iphone 4 for about a year and a half . During this time I've made and deleted a lot of photos . 2 Weeks ago I've recieved a ma

  • IChat Gone?

    I just tried to use my iChat with my black MacBook and it says.. You cant use this version of the application iChat with this version of the Mac OS X--You have iChat 3.1.8. Any Help?

  • E63 doesn't initialize after backup and firmware u...

    Hello, I live at Brazil (don't worry at the English mistakes) and I bought some weeks ago a Nokia E63 cellphone. I updated its firmware and it stopped working after I restored the backup. I used the Nokia Software Updater, and it showed that I could

  • JDeveloper Freezes when renaming a file

    I am experiencing a problem whenever I try to rename a file, JDeveloper freezes.... If anyone encountered this and overcame it please advise Thanks in advance Ajith