Tablespace exceed

Hi,
Oracle Database 11g Express Edition Release 11.2.0.2.0 - Production
PL/SQL Release 11.2.0.2.0 - Production
CORE     11.2.0.2.0     Production
TNS for 32-bit Windows: Version 11.2.0.2.0 - Production
NLSRTL Version 11.2.0.2.0 - Production
My Scenario is like Below.
I am trying to insert bulk records into a table which gives me the exception "ORA-01654: unable to extend index" because of tablespace exceed.
Now i need to extend the tablespace and then insert again which will work.
As, We have data which needs to be inserted in our hand and we have the tablespace size.
so Before inserting into table, Is there anyway where we can find whether the data
can be fitted into the tablespace size with out getting ORA-01654: unable to extend index" error.
Hope the question is understandable. Any help would be appreciated.
Regards,

the first post mentions "unable to extend index" -- so you also need to check your indexes, there might be enough space in the table tablespace but not enough in the index tablespace
to estimate the size needed, here is a quick fix:
load a sample of the rows that you need to load
analyze the table -- there is an "avg_row_len" in dba tables
use that to estimate how much size you need to load all the data, make the tablespace that size, plus add 10% or so (for the pct_free)
look at dba_indexes, there is leaf_blocks and distinct_keys, you can use that to estimate the number of blocks needed for your indexes
this is a very simplified explanation and there is much more too it but that should be a quick way to get what you need
Edited by: user12019680 on May 22, 2012 6:59 AM
Edited by: user12019680 on May 22, 2012 7:03 AM

Similar Messages

  • 'Big Join' cause tablespace exceed

    Hi guys, so basically I have 2 tables and 2 view i need to use to populate data into another table
    table dwcustomer(
    customer_id varchar2
    customer_key number
    city varchar2
    state varchar2
    postal_code varchar2
    gender varchar2
    table dwproducts(
    product_key number,
    product_id number
    product_name,
    weight,
    All_Purchases_view(
    customer_id varchar2
    product_id,
    shipping_charge
    purchase_price
    all_products_view(
    product_id,
    cost_price,
    sell_price,
    weight.....)
    Now I need to populate data into table DWPURCHASE(cost_price,sell_price,product_key,customer_key,ship_key,time_key,purchase_price,shipping_charge) using values from tables above
    So this is so far i got :
    insert into dwpurchase(customer_key,shipping_charge,purchase_price,product_key,cost_price,sell_price,time_key,ship_key)
    select dc.customer_key,pv.shipping_charge,pv.purchase_price,dp.product_key,pp.cost_price,pp.sell_price,0,0
    from dwcustomer dc,all_purchases_view pv,
    dwproduct dp,all_products_view pp
    where dc.customer_id = pv.customer_id
    and pv.product_id = dp.product_id
    and pp.product_name = dp.product_name
    and pv.source_rowid not in(select row_id from error_event where table_name = 'PURCHASESOURCE' and action = 3);
    and yet I got this error:
    ORA-01536: space quota exceeded for tablespace 'USERS'
    01536. 00000 -  "space quota exceeded for tablespace '%s'"
    *Cause:    The space quota for the segment owner in the tablespace has
               been exhausted and the operation attempted the creation of a
               new segment extent in the tablespace.
    *Action:   Either drop unnecessary objects in the tablespace to reclaim
               space or have a privileged user increase the quota on this
               tablespace for the segment owner.
    Any Help On The query will be much appreciate, as I can't change the space quota, and yep the earlier the better
    Thanks guys

    The error message means exactly what it says.
    It appears you are tying to put 50 gallons of sewage into a 5 gallon bucket.  What kind of magic bullet do you expect from the forum?
    "and yep the earlier the better"
    This is a forum of volunteers.

  • Refresh Analytic Workspace increase tablespace size ?

    Hello, I'm using CWM2 OLAP objects with 9.2.0.6 database version. I have analytic workspaces, too.
    I execute refresh of my analytic workspace, using the script generated by Analytic Workspace Manager 9.2.0.4.1. I have noticed that, strangely, whenever I execute the script, it increases the used space of the tablespace containing analytic workspace.
    Is this usual ? The script doesn't include new objects, and the effect is the same. What is failing ? I think that this should not happen.
    Any idea ? Thanks a lot by your help

    vbarres wrote:
    if my datawarehouse
    grows dinamically (I'm adding new objects every day),
    what size has to have my aw tablespace ? It's
    difficult to reserve space on disk for this...I'm confused here. Are you really adding new objects every day, or just adding more data to the existing ones. In general, if you are adding more data, the growth should be reasonably predictable, assuming a reasonable AW design. The usual growth confusion has to do with reloading the same data over again, where the growth is unexpected.
    rhaug wrote:
    I had a similar problem in my AW. The temp and the aw tablespace got ridiculously big. >The temp tablespace exceeded 20gb before the disk got full and everything crashed.
    In my case I had made several cubes to perform different tests. When I deleted all but >one cube things behaved more normal and the aggregation time was stable.Again, I'm not sure what is going on here from the descriptions. As far as I know, there should not be a problem with multiple cubes in the same AW. You don't say what version you are in, but is it possibly version 10? I could see some interaction in a parallel build, where the various cubes are built simultaneously, and thus the pages on the free list are necessarily available for reuse when you might want them. More details would be interesting here. You might also try a serial build (I'm not sure where the switch is in AWM, but I'm sure it's there somewhere).

  • Monitoring Used (%) space for tablespaces

    Hi everyone,
    I am currently using:
    Redhat Linux ES 5 2.6.18 and also
    Oracle 10g Release 2 for Linux x86 R10.2.0.3
    While monitoring my Tablespaces using OEM Database Control, I notice that two tablespaces were almost full.
    [SYSAUX] - Size: 290MB , Used 283MB (97% full)
    [SYSTEM] - Size: 320MB, Used 313MB (98% full)
    When I try to locate the datafiles of both tablespaces in its directory (/home/dba/oracle/oradata/oracle), it shows the allocated size (290MB for sysaux01.dbf & 320MB for system01.dbf) and not the used space.
    I got three questions to ask over here:
    1st- Why there isn't any warnings or alarms even though the tablespaces exceeds the critical size?
    2nd- How come the datafiles shows the allocated size of the tablespaces and not the Used space?]
    3rd- How can I find & monitor the actual used space of the tablespaces?
    4th- I have enabled the AutoExtend function but I am worry whether is there any other concern?
    I am still very new here.
    Please pardon me for anything that is improper.
    Looking forward for your expertise, guidance & help.
    Thanks for your attention.
    -Regards-
    ++ Kef Lim ++

    Hi,
    Here you have some scripts:
    TABLESPACE USAGE NOTES:
    Tablespace Name - Name of the tablespace
    Bytes Used - Size of the file in bytes
    Bytes Free - Size of free space in bytes
    Largest - Largest free space in bytes
    Percent Used - Percentage of tablespace that is being used - Careful if it is more than 85%
    select     a.TABLESPACE_NAME,
         a.BYTES bytes_used,
         b.BYTES bytes_free,
         b.largest,
         round(((a.BYTES-b.BYTES)/a.BYTES)*100,2) percent_used
    from      
              select      TABLESPACE_NAME,
                   sum(BYTES) BYTES
              from      dba_data_files
              group      by TABLESPACE_NAME
         a,
              select      TABLESPACE_NAME,
                   sum(BYTES) BYTES ,
                   max(BYTES) largest
              from      dba_free_space
              group      by TABLESPACE_NAME
         b
    where      a.TABLESPACE_NAME=b.TABLESPACE_NAME
    order      by ((a.BYTES-b.BYTES)/a.BYTES) desc
    SET SERVEROUTPUT ON
    SET PAGESIZE 1000
    SET LINESIZE 255
    SET FEEDBACK OFF
    PROMPT
    PROMPT Tablespaces nearing 0% free
    PROMPT ***************************
    SELECT a.tablespace_name,
           b.size_kb,
           a.free_kb,
           Trunc((a.free_kb/b.size_kb) * 100) "FREE_%"
    FROM   (SELECT tablespace_name,
                   Trunc(Sum(bytes)/1024) free_kb
            FROM   dba_free_space
            GROUP BY tablespace_name) a,
           (SELECT tablespace_name,
                   Trunc(Sum(bytes)/1024) size_kb
            FROM   dba_data_files
            GROUP BY tablespace_name) b
    WHERE  a.tablespace_name = b.tablespace_name
    AND    Round((a.free_kb/b.size_kb) * 100,2) < 10
    PROMPT
    SET FEEDBACK ON
    SET PAGESIZE 18
    Set Termout  On
    Set Heading  On
    clear breaks
    break on contents -
    skip 1
    compute Sum of alloc used free nbfrag on contents
    column tblsp         format a20 wrap          heading  "Tablespace Name"
    column Alloc         format 999,999           heading  "Alloc|(Mb)"
    column Free          format 999,999           heading  "Free|(Mb)"
    column used          format 999,999           heading  "Used|(Mb)"
    column pused         format 990.9             heading  "%|Used|Space"
    column fragmax       format 99,999.9          heading  "Largest|Free|Ext.(Mb)"
    column nbfrag        format 99999             heading  "Nb|frag"
    column contents      format a10               heading  "Content"
    column pct_ext_coal  format 999                     heading  "% Ext.|Coal."
    column ext_manage    format a7 wrap           heading  "Ext.|M."
    column autoext       format a7 wrap           heading  "Auto|Ext."
    select
           contents
         , nvl (dt.tablespace_name, nvl (fsp.tablespace_name, 'Unknown')) tblsp
         , alloc
         , alloc - nvl (free, 0)       Used
         , nvl (free, 0)               Free
         , ((alloc - nvl (free, 0)) / alloc) * 100  pused
         , nbfrag
         , fragmax
         , dfsc.pct_ext_coal pct_ext_coal
         , dt.ext_manage
         , df.inc                           autoext
      from
           ( select sum (bytes)/1048576     free
                  , max (bytes)/1048576     fragmax
                  , tablespace_name
                  , count(*)                nbfrag
              from  sys.dba_free_space
             group  by tablespace_name
           ) fsp
        ,  ( select sum(bytes)/1048576      alloc
                  , tablespace_name
                  , Decode(((inc * &Var_DB_BLOCK_SIZE)/1024), Null, 'No', 'Yes')     inc
               from sys.dba_data_files sddf
                  , sys.filext$        aut
              where sddf.file_id       =  aut.file#   (+)
              group by tablespace_name
                     , Decode(((inc * &Var_DB_BLOCK_SIZE)/1024), Null, 'No', 'Yes')
              Union
              select sum(bytes)/1048576      alloc
                   , tablespace_name
                   , Decode(((increment_by * &Var_DB_BLOCK_SIZE)/1024), Null, 'No', 'Yes')    inc
                from sys.dba_temp_files sddf
               group by tablespace_name
                      , Decode(((increment_by * &Var_DB_BLOCK_SIZE)/1024), Null, 'No', 'Yes')
           ) df
        ,  ( select contents
                  , tablespace_name
                  , initial_extent/1024     initial_ext
                  , next_extent/1024        next_ext
                  , pct_increase
                  , max_extents
                  , min_extents
                  , Substr(extent_management,1,5)       ext_manage
               from dba_tablespaces
           ) dt
         , ( select percent_extents_coalesced    pct_ext_coal
                  , tablespace_name
               from dba_free_space_coalesced
           ) dfsc
    where
           fsp.tablespace_name  (+)   =   dt.tablespace_name
       and
           df.tablespace_name   (+)   =   dt.tablespace_name
       and
           dfsc.tablespace_name (+)   =   dt.tablespace_name
    order
        by contents
         , pused desc
    ;Cheers,
    Francisco Munoz Alvarez
    http://www.oraclenz.com

  • Writing transformations for OWB/OWF to implement bespoke error handling

    I have implemented mappings which perform lookup on a translation table and if the lookup is not found a suitable value is output to a column, e.g. 'ERROR' is written to the output column on an intermediate table e.g. xxx_temp. The intermediate table is then split into two streams and output to two tables, those with errors to xxx_errors and those that are valid to xxx_out. What I want to know is how to write a transformation which will count the number of errors in xxx_errors and if 0 will return 'success' and if > 0 will return 'error' - because OWB Process Flows can only seem to handle three state events. Will this example function work or are there other parameters that I must include in the function before Oracle Workflow can process it correctly.
    FUNCTION etl_md_errors
    RETURN NUMBER IS
    lv_status NUMBER(22) := 0;
    lv_count NUMBER(5) := 0;
    ** Cursor to count the number of errors in the mappings run
    ** for the Operating Unit Master Data.
    CURSOR lcur_count_errors IS
    SELECT c1.err_cnt + c2.err_cnt
    FROM (
    SELECT Count(Rowid) err_cnt
    FROM t_mdo_ce_errors
    ) c1,
    SELECT Count(Rowid) err_cnt
    FROM t_mdo_cstobj_errors
    ) c2,
    SELECT Count(Rowid) err_cnt
    FROM t_mdo_vntr_errors
    ) c3;
    BEGIN
    OPEN lcur_count_errors;
    FETCH lcur_count_errors
    INTO lv_count;
    CLOSE lcur_count_errors;
    IF lv_count <= 0 THEN
    lv_status := 1;
    ELSE
    lv_status := 3;
    END IF;
    RETURN lv_status;
    EXCEPTION
    WHEN OTHERS THEN
    RETURN 3;
    END etl_md_errors;
    I cannot test the Process Flow deployment as Oracle Workflow 2.6.0 has been installed on an Oracle 8i schema but the Location registration version pulldown only has one entry 2.6.2
    Cheers,
    Phil Thomson

    Hi,
    You seem to have missed the point of the posting.
    I am asking how to write a transformation which can be used in Process Flow to determine whether any lookup validation errors have occurred, e.g. to determine which e-mail to send to the system administrator's email account. I was not asking if the method of processing/validating the transactions needed revamping .. it is what the client asked for and it's what they have tested and approved. I'll give an explanation of the background to the processing.
    a) we are reading in transactions from Country Data Warehouses (SAP BW) which are placed as tables in country data source schemas.
    b) we want to consolidate the transactions so that they can be loaded into a European wide Data Warehouse (SAP BW) and these are placed as tables in the target country schemas ... which are consolidated in a global schema using views and dblinks.
    c) as the Country Data Warehouses are using their own set of reference/look up values the transactions have the country data warehouse reference codes translated to equivalent european reference codes. Therefore in each country target schema we have sets of mapping/xref table(s) which translates one country column value to the equivalent european column value, e.g. area_ctry and area_eur. Area_ctry is the area reference code in the Country Data Warehouse and area_eur is the area reference code to be used in the European Data Warehouse.
    d) when a transaction record has a reference value that does not have an equivalent european reference value we want to flag that column and record as an error, as their are several column values to be translated you do not want to only flag up the 1st validation error encountered, you want to validate the entire record and you also want to validate the entire set of transaction records. Users get a bit miffed if you fail the entire batch of transactions on the first column validation or first invalid record, they correct it then find there are other records with errors ... user has to repeat until no errror records.
    e) that is the reason we use the Key Lookup operator on the mapping/xref table with the transaction column's country value in the input group and as the value for the Lookup Condition, on the Key Lookup operator's output group we set the default value for the looked up column to 'ERROR' so if no lookup is found 'ERROR' will be output as the looked up value.
    f) the Split operator is then used to identify error records e.g. area_eur = 'ERROR' OR region_eur = 'ERROR' etc, and to identify valid records e.g. area_eur != 'ERROR' AND region_eur != 'ERROR' etc. The error records are output their own table and the valid records are output to their own table.
    g) if their are true SQL errors e.g. tablespace exceeded, referenced procedure/function state changed then these will be handled by OWB and should be viewed vaie the OWB audit browser.
    As stated in my post what is the template of PL/SQL functions that can be used as Transformations in Process Flows with their 'SUCCESS', 'WARNING' and 'ERROR' transition condition.
    Hope the above explanation helps,
    Cheers,
    Phil Thomson

  • Diff between cpu and alerts

    What is the difference between alerts and cpu (CRITICAL PATCH UPDATE). Is there any major difference between these two patches??
    kumaresan

    You will have to be more specific in your request. The CPU is the central processing unit and is a chip, the alerts are events driven by a specific occurance such as the count of IO exceeding a specific amount or a table or tablespace exceeding its growth limits.
    Mike

  • Diff between alerts and cpu

    What is the difference between alerts and cpu??? Is there any major diff between the two???

    You will have to be more specific in your request. The CPU is the central processing unit and is a chip, the alerts are events driven by a specific occurance such as the count of IO exceeding a specific amount or a table or tablespace exceeding its growth limits.
    Mike

  • ORA-01536: space quota exceeded for tablespace 'SYSTEM'

    Hi All,
    Please help me to understand the below issue. I am trying to create a table as below. Connected as APPS user.
    SQL>create table test_ts(id number) tablespace APPS_TS_TX_DATA
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01536: space quota exceeded for tablespace 'SYSTEM'
    ORA-06512: at line 2
    Below are the details of the user
    SQL>select * from user_ts_quotas
            where  tablespace_name = 'APPS_TS_TX_DATA'
    TABLESPACE_NAME     BYTES     MAX_BYTES     BLOCKS     MAX_BLOCKS
    APPS_TS_TX_DATA     929038336     -1     113408     -1
    SQL>select * from user_ts_quotas
            where  tablespace_name = 'SYSTEM'
    No Rows Returned.

    Hi,
    Thanks for the response. There is no QUOTA defined for SYSTEM user, so it is UNLIMITED, No?
    Below are the details of "SYSTEM" tablespace. Is there any issue with this?
    TABLESPACE_NAME           BLOCK_SIZE  INITIAL_EXTENT       NEXT_EXTENT           MIN_EXTENTS            MAX_EXTENTS         
    SYSTEM                  8192               16384         16384                1                     505

  • RDF ORA-05136 error space quota exceeded for tablespace

    Hi,
    I'm having a hard time finding the root cause of this error. My users have unlimited space and the tablespace has a starting 10gb space and expands with 1gb increments. This happens when I try to insert an array of triples where the objects are clobs.

    Hi User,
    Direct From the Manual,
    ORA-01536: space quota exceeded for tablespace 'string'.
    Cause: The space quota for the segment owner in the tablespace has been exhausted and the operation
    attempted the creation of a new segment extent in the tablespace.
    Action: Either drop unnecessary objects in the tablespace to reclaim space or have a privileged
    user increase the quota on this tablespace for the segment owner.

  • Can object max_extents exceed Tablespace Max_extents limit

    Hi Folks,
    My database version is 8.1.7.0.
    In the alert log i am getting an error of ora-1632 max_extents 500 exceeded tablespacename.index name
    If i alter the object max_extents the isssue will be resolved.
    But, my doubt is if my existing tablespace, max_extent is 500 can my object max_extents exceed it..??
    Thanks a lot..!!
    Regards,
    Nik.

    The [url http://download.oracle.com/docs/cd/A87860_01/doc/server.817/a85397/state25d.htm#2068535]storage clause explains the precedence of maxextents.
    You should not be running an unpatched version 8 Oracle.
    See also [url http://download.oracle.com/docs/cd/A87860_01/doc/server.817/a76956/general.htm#10896]Displaying Segments that Cannot Allocate Additional Extents and [url http://download.oracle.com/docs/cd/A87860_01/doc/server.817/a76956/tables.htm#340]Plan for Large Tables.
    Note that if you went away from dictionary managed tablespaces and upgraded, you would solve many problems. There were arguments at one time about whether separating indices from tables could improve performance, and it is interesting to note the last link I posted has one reason: if you have enough extents to have a performance problem, it might easier to find contiguous space when rebuilding indices due to re-enabling constraints.

  • DRM 11.1.13 - ORA-01536 space quota exceeded for tablespace "DRM_INDEX"

    Hello,
    Are there any guidelines or recommendations on how to size the index tablespace of the DRM repository? We keep running out of space, it is now set to 10GB. We have hierarchies with 100,000+ nodes in about 6 versions, several exports with queries. Is there any way to cleanup what is causing the index tablespace to grow?
    Thank you,

    Hi iam new to drm ,installed on my lappi,and when i try to configure,i am understanding the the pre-requisites
    Oracle Database Prerequisitesl If you are using an Oracle RAC database system, you must create the tablespaces with the
    appropriate RDBMS software prior to installation.
    Whether the scripts are run automatically or manually, the user must be logged in as
    SYSTEM. When you manually execute the database scripts, the DRM_DB user is created in
    the RDBMS (if it does not already exist). The DRM_DB user is assigned a default tablespace
    of DRM_DATA and must have access rights to the following items:
    Default tablespace (usually DRM_DATA)
    UNLIMITED TABLESPACE
    CONNECT
    CREATE ANY SEQUENCE
    CREATE USER
    ALTER USER
    ====================================================
    When you manually execute the database scripts, the user is logged in as the schema owner
    which, has a default tablespace of DRM_DATA. This user must have access rights to the
    following items:
    m Default tablespace (usually DRM_DATA) — this can be done after the install if the
    tablespaces were not created.
    UNLIMITED TABLESPACE
    DBA
    CONNECT
    CREATE ANY SEQUENCE
    CREATE USER
    ALTER USER
    =========================================================
    according to the previous understanding of hyperion modules.this time i created a new user "DRM_DATA" under orcl DB
    and provide him dba,connct,view,procedure,trigger,session roles..
    and when i try to configure it then it states some error////// yur drm_data not have drm prerequisites.

  • 1536 ORA-01536: space quota exceeded for tablespace

    I am trying to update a record in the particular table.. its keep saying the above error msg.. I have extended the table space segment, but still am getting the same error.
    Can some one have any idea on this..
    Thanks in advance

    Hi,
    execute the following statement form system
    SQL> alter user <username> quota unlimited on < tablespace_name> ;
    this will allow you to use this tablespace.
    -Mohan
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Joekan:
    I am trying to update a record in the particular table.. its keep saying the above error msg.. I have extended the table space segment, but still am getting the same error.
    Can some one have any idea on this..
    Thanks in advance<HR></BLOCKQUOTE>
    null

  • Regarding Maxsize of Undo Tablespace

    Dear expetrs
    While executing a procedure i got error.
    Error In Insertion..ORA-30036: unable to extend segment by 16384 in undo tablesp
    ace 'UNDOTBS1'
    then i increase the size of the Undo Tablespace
    then again i got error.
    ORA-01144: File size (7680000 blocks) exceeds maximum of 4194303 blocks
    plz give me answer as soon as possible.
    thnaks.

    1) resize your datafile to 4194303 * db_block_size
    alter database datafile < path/filename > resize <4194303 * db_block_size> ;
    you find db_block_size by:
    sqlplus /nolog
    SQL> connect / as sysdba
    SQL> show parameter db_block_size
    or by simply have a look in the pfile (init<SID>.ora) in $ORACLE_HOME/dbs
    2) add another file to the undo tablespace:
    SQL>alter tablespace undotbs1 add datafile <path/filename> size <n> M;
    a tablespace may have up to 1022 datafiles.
    hope this helps
    roman

  • Maximum Open Cursors Exceeded - Oracle & Java

    I am using NetBeans ( Forte 5) for developing an application with Oracle Database. My application makes use of executeUpdate, executeQuery statements inorder to access Database.
    After few insertions and deletions of data through the host language( Java), my application stops working. It gives out the error.
    java.sql.SQLException: ORA-01000: maximum open cursors exceeded[/b
    Is this the problem with Forte or Oracle. I am using Oracle in a network in which i have got a tablespace in the Database server.
    How to tackle this problem.

    I am using 3 methods preparedStatements
    1. execute - returns boolean
    2. executeQuery - returns ResultSet
    3. executeUpdate - returns int
    I am closing the ResultSet object returned by executeQuery using
    close() method.
    Is this the correct way to close the open cursor.
    I access the table attributes using a rs.getString(colNum) and
    rs.getInt(colNum)
    Even then i am getting the maximum open cursors exceeded message.
    Will Oracle open a cursor for execute and executeUpdate which is not returning a ResultSet object .
    If Oracle opens a cursor for these two methods, how should i close the open cursor.

  • On load, getting error:  Field in data file exceeds maximum length

    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    PL/SQL Release 11.2.0.3.0 - Production
    CORE    11.2.0.3.0    Production
    TNS for Solaris: Version 11.2.0.3.0 - Production
    NLSRTL Version 11.2.0.3.0 - Production
    I'm trying to load a table, small in size (110 rows, 6 columns).  One of the columns, called NOTES is erroring when I run the load.  It is saying that the column size exceeds max limit.  As you can see here, the table column is set to 4000 Bytes)
    CREATE TABLE NRIS.NRN_REPORT_NOTES
      NOTES_CN      VARCHAR2(40 BYTE)               DEFAULT sys_guid()            NOT NULL,
      REPORT_GROUP  VARCHAR2(100 BYTE)              NOT NULL,
      AREACODE      VARCHAR2(50 BYTE)               NOT NULL,
      ROUND         NUMBER(3)                       NOT NULL,
      NOTES         VARCHAR2(4000 BYTE),
      LAST_UPDATE   TIMESTAMP(6) WITH TIME ZONE     DEFAULT systimestamp          NOT NULL
    TABLESPACE USERS
    RESULT_CACHE (MODE DEFAULT)
    PCTUSED    0
    PCTFREE    10
    INITRANS   1
    MAXTRANS   255
    STORAGE    (
                INITIAL          80K
                NEXT             1M
                MINEXTENTS       1
                MAXEXTENTS       UNLIMITED
                PCTINCREASE      0
                BUFFER_POOL      DEFAULT
                FLASH_CACHE      DEFAULT
                CELL_FLASH_CACHE DEFAULT
    LOGGING
    NOCOMPRESS
    NOCACHE
    NOPARALLEL
    MONITORING;
    I did a little investigating, and it doesn't add up.
    when i run
    select max(lengthb(notes)) from NRIS.NRN_REPORT_NOTES
    I get a return of
    643
    That tells me that the largest size instance of that column is only 643 bytes.  But EVERY insert is failing.
    Here is the loader file header, and first couple of inserts:
    LOAD DATA
    INFILE *
    BADFILE './NRIS.NRN_REPORT_NOTES.BAD'
    DISCARDFILE './NRIS.NRN_REPORT_NOTES.DSC'
    APPEND INTO TABLE NRIS.NRN_REPORT_NOTES
    Fields terminated by ";" Optionally enclosed by '|'
      NOTES_CN,
      REPORT_GROUP,
      AREACODE,
      ROUND NULLIF (ROUND="NULL"),
      NOTES,
      LAST_UPDATE TIMESTAMP WITH TIME ZONE "MM/DD/YYYY HH24:MI:SS.FF9 TZR" NULLIF (LAST_UPDATE="NULL")
    BEGINDATA
    |E2ACF256F01F46A7E0440003BA0F14C2|;|DEMOGRAPHICS|;|A01003|;3;|Demographic results show that 46 percent of visits are made by females.  Among racial and ethnic minorities, the most commonly encountered are Native American (4%) and Hispanic / Latino (2%).  The age distribution shows that the Bitterroot has a relatively small proportion of children under age 16 (14%) in the visiting population.  People over the age of 60 account for about 22% of visits.   Most of the visitation is from the local area.  More than 85% of visits come from people who live within 50 miles.|;07/29/2013 16:09:27.000000000 -06:00
    |E2ACF256F02046A7E0440003BA0F14C2|;|VISIT DESCRIPTION|;|A01003|;3;|Most visits to the Bitterroot are fairly short.  Over half of the visits last less than 3 hours.  The median length of visit to overnight sites is about 43 hours, or about 2 days.  The average Wilderness visit lasts only about 6 hours, although more than half of those visits are shorter than 3 hours long.   Most visits come from people who are fairly frequent visitors.  Over thirty percent are made by people who visit between 40 and 100 times per year.  Another 8 percent of visits are from people who report visiting more than 100 times per year.|;07/29/2013 16:09:27.000000000 -06:00
    |E2ACF256F02146A7E0440003BA0F14C2|;|ACTIVITIES|;|A01003|;3;|The most frequently reported primary activity is hiking/walking (42%), followed by downhill skiing (12%), and hunting (8%).  Over half of the visits report participating in relaxing and viewing scenery.|;07/29/2013 16:09:27.000000000 -06:00
    Here is the full beginning of the loader log, ending after the first row return.  (They ALL say the same error)
    SQL*Loader: Release 10.2.0.4.0 - Production on Thu Aug 22 12:09:07 2013
    Copyright (c) 1982, 2007, Oracle.  All rights reserved.
    Control File:   NRIS.NRN_REPORT_NOTES.ctl
    Data File:      NRIS.NRN_REPORT_NOTES.ctl
      Bad File:     ./NRIS.NRN_REPORT_NOTES.BAD
      Discard File: ./NRIS.NRN_REPORT_NOTES.DSC
    (Allow all discards)
    Number to load: ALL
    Number to skip: 0
    Errors allowed: 50
    Bind array:     64 rows, maximum of 256000 bytes
    Continuation:    none specified
    Path used:      Conventional
    Table NRIS.NRN_REPORT_NOTES, loaded from every logical record.
    Insert option in effect for this table: APPEND
       Column Name                  Position   Len  Term Encl Datatype
    NOTES_CN                            FIRST     *   ;  O(|) CHARACTER
    REPORT_GROUP                         NEXT     *   ;  O(|) CHARACTER
    AREACODE                             NEXT     *   ;  O(|) CHARACTER
    ROUND                                NEXT     *   ;  O(|) CHARACTER
        NULL if ROUND = 0X4e554c4c(character 'NULL')
    NOTES                                NEXT     *   ;  O(|) CHARACTER
    LAST_UPDATE                          NEXT     *   ;  O(|) DATETIME MM/DD/YYYY HH24:MI:SS.FF9 TZR
        NULL if LAST_UPDATE = 0X4e554c4c(character 'NULL')
    Record 1: Rejected - Error on table NRIS.NRN_REPORT_NOTES, column NOTES.
    Field in data file exceeds maximum length...
    I am not seeing why this would be failing.

    HI,
    the problem is delimited data defaults to char(255)..... Very helpful I know.....
    what you need to two is tell sqlldr hat the data is longer than this.
    so change notes to notes char(4000) in you control file and it should work.
    cheers,
    harry

Maybe you are looking for

  • Address Book, importing text tab file, custom fields not there

    Searched thru all past posts. Found some that are close but not what I am trying to do. Open Address Book, go into Preferences, select Template and under the Names field (friend, assistant, father, etc) I add a custom field called "Keyword". I also a

  • Exclamation marks prevent CD burning. Why is this happening?

    Hello: Here's the problem... When I bring up a Smart Playlist to burn to CD (R or R+W), the following happens: 1. If I uncheck a few songs, the exclamation mark shows up and won't go away. 2. When I insert the blank CD, most of the songs get hit with

  • Write into XML file

    Hi, I have a xml file uploaded to the Document Management. I write a script to prompt the caller to leave a recording. I want to save the recording file name into the xml file. How do I do that? How do I append the recording file name into the existi

  • Editing CF8.0.1 Sandbox Settings Slows Down IIS7

    Hello, I'm running CF8.0.1 on Windows Server 2008 Standard (all 32-bit) and our web site content is located on a UNC share. When I log into ColdFusion Administrator and perform any task under Sandbox Security (i.e. adding a sandbox, editing propertie

  • Need help with Adobe documents - emailing multiple PDFs

    Can anyone out there help an old man? I'm new to all things Adobe but the only thing I can't seem to master is sending multiple PDFs in a single email, from Adobe documents. What am I missing here?