Tablespace problem

Please attend my tablespace size as below.
Name :d:\oracle\oradata\orcl\cpportal101.dbf
tablespace: cpportal
status: online
File Size (KB): 2097152(2G)
AutoExtend: yes
Allocation Type Uniform Size (KB) 1024
Increment : 1024KB
Maximum File Size: 32767MB(32GB)
when i am creating a table in this schema i am geeting below error.
Failed to commit: ORA-01536: space quota exceeded fortablespace 'CPPORTAL'
i have 1,605.0 (MB) is free.
then i add 1GB datafile again .but i am getting same error.
how i resolve this error. Please help me for this .
please help me for this.

Increase the space quota for the user.
login to db as any dba user like sys/system etc and excecute below sql
sql>grant unlimited tablespace to <user>
anyway granting unlimited quota is not a good practise.
.

Similar Messages

  • Undo tablespace problem

    Hello, I was processing a batch job that commits every 5,000 records. I have the UNDO_RETENTION set to 10,800. UNDO_MANAGEMENT is set to AUTO. at some point the database shut down
    with the following errors in the alert log:
    ORA-1654: unable to extend index CRM.XIF35CUSTOMER by 16 in tablespace      RCRMCUSTIX01
    ORA-1654: unable to extend index CRM.XIF35CUSTOMER by 16 in tablespace      RCRMCUSTIX01
    ORA-1654: unable to extend index CRM.XIF35CUSTOMER by 16 in tablespace      RCRMCUSTIX01
    ORA-1654: unable to extend index CRM.XIF35CUSTOMER by 16 in tablespace      RCRMCUSTIX01
    Fri Jun 09 02:19:48 2006
    KCF: write/open error block=0x1faa4f online=1
    file=2 C:\ORACLE\ORADATA\CRMMGG\UNDOTBS01.DBF
    error=27069 txt: 'OSD-04026: Invalid parameter passed. (OS 2075215)'
    Fri Jun 09 02:19:48 2006
    Errors in file c:\oracle\admin\crmmgg\bdump\crmmgg_dbw0_20680.trc:
    ORA-01242: data file suffered media failure: database in NOARCHIVELOG mode
    ORA-01114: IO error writing block to file 2 (block # 2075215)
    ORA-01110: data file 2: 'C:\ORACLE\ORADATA\CRMMGG\UNDOTBS01.DBF'
    ORA-27069: skgfdisp: attempt to do I/O beyond the range of the file
    OSD-04026: Invalid parameter passed. (OS 2075215)
    I noticed the the undo datafile is over 16GB. I reset the UNDO_RETENTION to 5 seconds. The undo tablespace data file is staying at 16GB. Is there any way to shring this file. It is a test DB so I can rebuild if necessary. What is the best way to recover from this? Thak you,
    David

    You are facing a generic problem on Windows platforms, when datafiles configured as AUTOEXTEND ON reach a 4GB boundary (4GB,8GB,...). The best way to avoid the problem is switch AUTOEXTEND to OFF and define the appropriate number of single datafiles for the tablespace. From metalink:
    ALERT: Problems with Datafile AUTOEXTEND/RESIZE on NT/2000 Platforms
    Doc ID:148894.1
    Werner

  • In Db2 tablespace problem

    Hi,
    We are using DB2 database.Here we enabled the Autoresize for tablespace.If tablespace enabled as autoresize means it should stay on 99%.In my case reaches 99.25%,100% some tablespace reachs.I checked the file system enough space is there.In this case how to increase the size of autoresize tablespace.
    How to slove this problem...
    Regards,
    Kumar

    Hello Kumar ,
    this is usually not an Indicator for having an problem .
    see
    [DB2 : Automatic re-sizing of table spaces|http://publib.boulder.ibm.com/infocenter/db2luw/v9r5/index.jsp?topic=/com.ibm.db2.luw.admin.dbobj.doc/doc/c0012277.html]
    Tablespace extension is controlled by Parameters INCREASESIZE ,
    (also  MAXSIZE but this is usually not used in SAP Environments ) .
    Depending on Increasesize , the tablespace is increased using this amount of storage .
    If the tablespace reaches 100% filling grade , it is extended automatically (therefor "Auto"-resize ) . You just need to monitor freespace in the filesystems for the tablespaces to have enough space for enlarging the containers available .
    Please recheck for the tablespaces displayed with 100% filling grade , whether there are still free pages using an tablespace snapshot
    db2 get snapshot for tablespaces on <DBSID>
    Best regards
    dirk

  • Import tablespace problem

    Dear all,
    I've encountered a problem during importing schema.
    The case is that I migrated a schema from SQL server by OMWB to a tablespace called ts1 in Oracle 9i. When I export this schema and then import to another tablespace called ts2, some tables cannot be created and prompt me warning said "cannot create table xxx, table space ts1 does not exist. This problem only exists on some tables, but the rest are fine.
    This problem makes me cannot import this schema to different tablespace. Could anyone help me by giving some advise.
    Thank you very much

    When you are importing, it definately seeks for the default tablespace of the object. The workaround, either you create the same tablespace or do the following to the user where you are importing.
    remove unlimited tablespace previlege from the user.
    grant unlimited quota on its default tablespace to the user.
    start your import with ignore=y parameter.
    Jaffar

  • Default tablespace problem

    I created a new user. I wanted to attach this user to a default tablespace. After I gave the command, "ALTER USER DEFAULT TABLESPACE rent QUOTA UNLIMITED ON rent;", the Oracle SQl Developer gave a command succeeded message. But when I tried to access a table within that tablespace, I couldn't. I was only able to access the table in the tablespace using the full qualification.
    1) SELECT * FROM rent; -- failed
    2) SELECT * FROM halibut.rent; -- succeeded
    1) should work, since I attached the default tablespace to that user. How to overcome this problem?
    I use Oracle SQL Developer version 1.1.2.25 and Oracle 10g Standard Edition.

    I assume that you have given quota to that user using sysdba user only.
    1) SELECT * FROM rent; -- failed
    2) SELECT * FROM halibut.rent; -- succeeded
    1 one has to fail because rent table exist in halibut schema.Giving quota unlimited doesn't mean you can access everything in that tbs owned by other user also.It just allow to use all space on that tbs.This is basic of oracle DBA dear.

  • Temporary Local Tablespace Problem

    I have a temporary local tablespace, the size has been increased many times
    through this
    ALTER TABLESPACE "TEMP" ADD TEMPFILE 'E:\ORACLE\APPTESTDATA\.FILENAME.DBF' SIZE 1024M
    but due to a operation we get this error
    ORA-1652: unable to extend temp segment by 128 in tablespace TEMP
    What can be done?
    Thanks
    Adith

    Hi Adith,
    what is the size of your temp tbs?
    Usually they are several gigs large as they are used for all the sort operations.
    If needed add more space.
    Acr

  • Temporary tablespace-Problem

    Hi,
    How to view the temporary tablespace usage?
    How to deallocate the used temporary tablespace segments/ resize temporary tablespace?
    I am running a query which is consuming 4GB temporary tablespace and failing.
    pga_aggregate_traget=500m;
    oracle -9.2.0.1.0
    OS:Windows 2003
    How to solve this?
    regards
    Mathew

    Hi,
    We are using the following View and it is fetchhing 46,56,00,000 rows.
    PGA=500m
    While running the query temporary tablespace is growing upto 4GB and query is failling.
    CREATE OR REPLACE FORCE VIEW MHUBADMIN.LOAN_PIPELINE_VIEW
    (LOAN_ID, USER_ID, FIRST_NAME, LAST_NAME, BORROWER_NAME,
    SSN, USERNAME, SELLERLOANNUMBER, LOANNUMBER, LOANAMOUNT,
    STATUS_DESC, LOAN_TYPE, LOCK_EXPIRE_DATE, ORG_NAME, ORG_PARENT_ID,
    ORG_CHILD_ID, NO_CASCADE_FLAG, PRODUCT_NAME, INT_RATE, UPDATE_DATE,
    UPDATE_DATE_STR, CURRENT_DATE, LOWER_FIRST_NAME, LOWER_LAST_NAME, LOWER_SSN,
    LOWER_STATUS_DESC, STATUS_ID, AMORTIZATION_TYPE, STREET1, LOCK_EXTEN_EXPIR_DATE,
    RELOCK_EXPIR_DATE, LOCK_RELOCK_COUNT, UNDERWRITE_FLAG, RECENT_EXPIR_DATE, STATUS_DATE)
    AS
    SELECT
    LOAN.loan_id,
    LOAN.user_id,
    PERSON.first_name,
    PERSON.last_name,
    PERSON.last_name||', '||PERSON.first_name AS Borrower_Name,
    PERSON.ssn,
    HUBUSER.username,
    LOAN.sellerloannumber,
    LOAN.loannumber,
    LOAN.loanamount,
    STATUS.status_desc,
    LOAN.loan_type,
    PRICE.lock_expire_date,
    ORGANIZATION.org_name,
    BUSINESS_RELATIONSHIP.org_parent_id,
    BUSINESS_RELATIONSHIP.org_child_id,
    BUSINESS_RELATIONSHIP.no_cascade_flag,
    product_name,
    PRICE.final_rate,
    LOAN.update_date,
    TO_CHAR (LOAN.update_date,
    'MM/DD/YYYY HH:MI:SS AM') update_date_str,
    sysdate,
    LOWER (PERSON.first_name),
    LOWER (PERSON.last_name),
    LOWER (PERSON.ssn),
    LOWER (STATUS.status_desc),
    STATUS.status_id,
    LOAN.amortization_type,
    ADDRESS.STREET1,
    PRICE.LOCK_EXTEN_EXPIR_DATE,
    PRICE.RELOCK_EXPIR_DATE,
    LOAN.LOCK_RELOCK_COUNT,
    LOAN.UNDERWRITE_FLAG,
    decode (status.STATUS_ID,
    22, PRICE.LOCK_EXTEN_EXPIR_DATE,
              23, PRICE.lock_expire_date,
              13, PRICE.lock_expire_date,
              24, PRICE.RELOCK_EXPIR_DATE,
              PRICE.lock_expire_date) RECENT_EXPIR_DATE,
              LOAN_STATUS_HISTORY.STATUS_DATE
    FROM
    LOAN,
    HUBUSER,
    ORGANIZATION,
    BUSINESS_RELATIONSHIP,
    BORROWER,
    PERSON,
    STATUS,
    PRICE,
    product,
    PROPERTY,
    ADDRESS,
    LOAN_STATUS_HISTORY
    WHERE
    ORGANIZATION.org_id = BUSINESS_RELATIONSHIP.org_child_id AND
    LOAN.org_id = BUSINESS_RELATIONSHIP.org_child_id AND
    LOAN.loan_id = BORROWER.loan_id AND
    LOAN.registration_loan_status_id = STATUS.status_id AND
    LOAN.price_id = PRICE.price_id AND
    BORROWER.primaryborrower = 'T' AND
    PERSON.person_id = BORROWER.person_id AND
    LOAN.product_id = product.product_id AND
    LOAN.PROPERTY_ID = PROPERTY.PROPERTY_ID AND
    PROPERTY.ADDRESS_ID = ADDRESS.ADDRESS_ID AND
    LOAN.user_id = HUBUSER.user_id (+);
    Any one know how to tune this query?
    regards
    Mathew

  • CREATE TABLESPACE PROBLEM

    I'm unable to get sqlplus to recognize predefined Windows environment variables. For example:
    CREATE TABLESPACE PRODUCT DATAFILE '%ORACLE_DIR%\oradata\xxx\PRODUCT.DAT' SIZE 1M AUTOEXTEND ON NEXT 1M;
    %ORACLE_DIR% = C:\bas\db\oracle
    After trying to execute this statement the following error gets returned:
    ERROR at line 1:
    ORA-01119: error in creating database file
    'BAS_ORACLE_HOME\oradata\bas\PRODUCT.DAT'
    ORA-27040: skgfrcre: create error, unable to create file
    OSD-04002: unable to open file
    O/S-Error: (OS 3) The system cannot find the path specified.
    However, when I enter the command as:
    CREATE TABLESPACE PRODUCT DATAFILE 'C:\bas\db\oracle\oradata\xxx\PRODUCT.DAT' SIZE 1M AUTOEXTEND ON NEXT 1M;
    The tablespace gets completed successfully.
    Therefore, how do I get the CREATE TABLESPACE statement to recognize ORACLE_DIR?
    Thank you in advance for your help!

    I sometimes pass in filenames as parameters to SQL*Plus
    and then use the argument substitution variables.
    For example:
    sqlplus system/manager @myscript.sql c:\mydir\myfile
    Where myscript.sql contains
    create .... datafile '&1' ...
    Another common solution is to construct the script
    in a shell environment that does the the OS variable
    expansion before the script is passed to SQL*Plus.
    Typically this is with a "here document". In Perl
    it would be something like:
    sqlplus -s <<EOF;
    system/manager
    create ... datafile $ENV{'ORACLE_DIR'} ...
    exit
    EOF
    -- C

  • Attribute change Run and Infocube Problem

    Hi SAP BW Experts ,
       I am getting the following problem
    2 days back our production system was down when Attribute change run is running in a process chain . After the system is up I triggered the Attribute change run manually for that specific master data Object. But the jobs was cancled automatically. When I checked the Job log I found the following messages
        <b>“InfoCube XXX is locked by a terminated change Run”</b>
      System error: <b>RSDU_TABLE_COPY_INI/DDIF_TABL_ACTIVATE /BIC/E200073 /BIC/E100073 0</b>
    Message no. DBMAN100
    When I verified manage screen in the Infocube XXX , one request is not rolled up . when I tried to rollup that particular request manually again I am getting the same message <b>“InfoCube XXX is locked by a terminated change Run”</b>
    When I tried to create Indexes on that Infocunbe XXX , Again I am getting the same message <b>“InfoCube XXX is locked by a terminated change Run”</b>
    When I tried to load data in to that Infocube I am getting the same message <b>“InfoCube XXX is locked by a terminated change Run”</b>
    The Steps Taken By Me:
      1. In SM12 , there are no lock entries for the Infocube XXX
      2. According to A.H.P reply I verified the Support package . We are having Import Support package 18 for 3.10( BW 3.10 patch 18 or SAPKW31018 )
      so I think there is no problem from patch side.
    So please let me know by doing which task , I can eliminate the error message “InfoCube XXX is locked by a terminated change Run”

    I got this reference from one of other site. Hope this solves issues of most of our ques on this topic.
    We faced this problem and reported to OSS. They solved our problem.Here is
    the answer from OSS
    I connected to your BWQ system. I checked the table RSDDAGGRMODSTATEand
    found an entrie for a change run "not yet" finished.
    CNSID CLOSEDFL TIMESTMP_START TIMESTMP_END TSTPNM
    207,851,300 20,030,910,141,500 0 SIDTLHG
    As you can see, the field CLOSEDFL is blank (should be 'X' for an ended
    change run) and the field TIMESTMP_END is also zero.
    You can also check with the function module RSDDS_CHANGERUN_MONITOR as
    in note 388069 that both objects you reported are the ones involved
    with thi change run error (Infocube ZINV and Infoobject ZELEM_PEP):
    E_CR_STATE C
    E_T_CHANM 1 Entry (IOBJNM = ZELEM_PEP)
    E_T_HIEID 0 Entries
    E_T_AGGRSTATE 1 Entry (AGGRID = 3QR79ZYB6VGSDS3C42HPXMA8S
    ICUBE = ZINV)
    E_T_MSG 1 Entry (IOBJNM = ZELEM_PEP)
    You have two choices to solve this problem. You cn either:
    1.- Restart the change run and let it finish with ok.
    The change run usually fails due to database errors, tablespace
    problems, and when some user manually cancel it (NEVER should be
    done!!)
    2.- Change manually the entry from table RSDDAGGRMODSTATE that isdescribed
    above. Set the field CLOSEDFL with a 'X' and also fill the field
    TIMESTMP_END with a value with the following format
    yy,yym,mdd,hhm,mss. Use, for example, '20,030,910,181,500'
    IMPORTANT!!!
    After this change on table RSDDAGGRMODSTATE, you have todeactivate
    all aggregates, activate again and refill them!!
    Hope this solves your error. If the issue is solved, please close this
    message with the [confirm] button.
    Best regards,
    David =C1lvarez
    SAP Active Global Support
    The answer refers to our problem.We chosed option 2. Here is the AbAPcode:
    REPORT ZLOCKED .
    tables: RSDDAGGRMODSTATE.
    select * from RSDDAGGRMODSTATE where CLOSEDFL = ' '.
    RSDDAGGRMODSTATE-CLOSEDFL = 'X'.
    RSDDAGGRMODSTATE-TIMESTMP_END = 20020912195015.
    MODIFY RSDDAGGRMODSTATE.
    ENDSELECT.

  • Tablespace check script (cron)

    Hello,
    I have been asked to setup a cronjob to check for tablespace problem. And i found a script online. But not able to to get the alert to my e-mail..here is the script. What am i doing wrong. I made a new file called test.sh and changed the persmision on it to 777. And have this script in there(below). Not working?? Is it that do i need to create a new script called checkfree.sql and run it again? Or is there a way to setup to check for tablespace problem?? A script which will do work simalr to this. I mean to check for tablespace problem and if its over 85% gives me an alert to my e-mail??
    -- SQL script to get tablespace infomation
    -- checkfree.sql
    set heading off
    set feedback off
    set linesize 256
    set tab off
    col Name format a20
    col "Data file" format a20
    select
    free.tablespace_name "Name",
    df.file_name "Data file",
    df.bytes "Size (bytes)",
    TO_NUMBER(sum(free.bytes)) "Free (bytes)",
    round(100*sum(free.blocks)/df.blocks) "(%)"
    from dba_free_space free,
    dba_data_files df
    where free.file_id=df.file_id
    group by free.tablespace_name,
    df.file_name,
    df.bytes,
    df.blocks
    order by 1;
    /* Shell script to call */
    /* $5 mean free percentage tablespace remain */
    sqlplus system/abc123 @checkfree.sql | \
    awk '$5 < 20 {print}' | mail -s "Tablespace near full" [email protected]

    oracle version is 10.2.0.3 on AIX. And we cant use
    dbconsole, as it take up and lot of cpu resources.
    So thats a bad point. OEM dbconsole doesn't take a lot of system resources, including CPU. If it does, something wrong, you need to investigate the problem and find out why.
    It's very good tool and not in any standard 'bad'
    >
    !/usr/bin/ksh
    ! $5 mean free percentage tablespace remain */
    sqlplus system/abc123 @checkfree.sql | \
    awk '$5 < 20 {print}' | mail -s "Tablespace near
    full" [email protected]
    and how would be the cron setup as ?? what i had it
    setup was create a file called test.sh and put
    everything in there. And had it setup in my cron
    10 12 * * * /home/oracle/scripts/monitor/test.sh >
    /home/oracle/logs/test.log
    so what needs to go where?? ThanksFirst test the script manually run it as OS command line. The one you had will not work.
    Also as said, you need to include environment variables (ORACLE_HOME, PATH etc) into your script, otherwise it won't run from cron job.

  • Help in  temperory  tablespace

    Hi
    Could be bit silly question
    can someone please tell me what is the usage of the temp tablespace in oracle 8i database what could be the max size of the files in that tablespace, is that tablespace recycled when it is full . i am asking this question coz i am often encounter the problem temp tablespace full which is apx 2 gb. when i run some database jobs .
    Thanks in Advance

    Temporary tablespace is used for on disk sorting. The natural of temporary tablespace is recycling the segments usage as needed.
    You should see some usage of this tablespace when you have sorting activities in your database for example, query with order by, group by or index building etc..
    One thing you could do is find out which activities causing out of temporary tablespace problem. If it's a query, can you tune the query to use less sorting?

  • Regards to Tablespace when running a mapping

    hi,
    Regularly i am getting the tablespace problem, while running mapping.
    for every 2 days i am getting this problem. And my DBA increases table space by 2GB , eventhough i am getting this problem.
    Please tell me the solution.
    IT IS VERY URGENT
    Thank you.

    ... what kind of tablespace? TEMP or data?
    We must know a little more about your mapping to resolve this problem.
    Regards,
    Detlef

  • Use of index

    i have a table in which for 2 columns i have not null constraint and i have defined unique index for these 2 columns, my question is if i define non unique index for these 2 columns whether the space occupied by these 2 tables will become lesser? if so, how?
    (right now i am having tablespace problem by having unique index)

    if i define non unique index for these 2 columns whether
    the space occupied by these 2 tables will become lesser?Are you asking if a non-unique index is smaller than a unique one, on the same columns ? Well, I don't think so :
    TEST@db102 SQL> create table foo as select * from dba_objects;
    Table created.
    TEST@db102 SQL> create unique index obj_i1 on foo(owner,object_id);
    Index created.
    TEST@db102 SQL> select bytes from user_segments where segment_name='OBJ_I1';
         BYTES
       2097152
    TEST@db102 SQL> drop index obj_i1;
    Index dropped.
    TEST@db102 SQL> create index obj_i1 on foo(owner,object_id);
    Index created.
    TEST@db102 SQL> select bytes from user_segments where segment_name='OBJ_I1';
         BYTES
       2097152
    TEST@db102 SQL>                                                                                         If you mean something different, please clarify.

  • Loading of Inventory Management

    I am trying to load data in parallel into the Non Cumulative Inventory (0IC_C03) cube and the SnapShot (ODSSNAP) ODS.  The steps that I have followed is as follows:
    1) Load into PSA
    2) Subsequently load into Data Targets
    This failed so I deleted the load from the targets and reloaded from PSA.  I am currently monitoring the loads and it seems that I am likely to have a fail since the monitor has been on Data Package 129 for a long period.
    Is there anything that I can do to the extraction is the BF init and last week I did manage to load to 0IC_C03 when I had not built the snapshot in the model.
    The size of the packages are approximately 65,000 records and there are 139 packages
    Thanks

    Hi Niten,
    if the upload has stopped without any particular error message in monitor maybe is a tablespace problem, temp or roll.
    Take a look in DB02 - SM21 - ST22.
    If it is a problem of roll, make separate upload.
    In any case ask DB administrator to enlarge tablespace.
    Ciao.
    Riccardo.

  • On Login to Workspace requested URL /pls/apex/f was not found Error

    Dear All,
    When I log into a workspace I get the following :
    The requested URL /pls/apex/f was not found on this server.
    Note:
    1. The workspace was working fine and while working only this issue started and the problem exists since.
    2. I am able to log into Internal Workspace
    The Error_Log is as follows:
    [Wed Jun 15 12:56:09 2011] [error] [client IP ADDRESS REMOVED] [ecid: 1308131768:IP ADDRESS REMOVED:2320:2580:12,0] mod_plsql: /pls/apex/f HTTP-404 ORA-20867: ORA-01654: unable to extend index APEX_040000.WWV_FLOW_ACTIVITY_LOG2$_IDX2 by 8 in tablespace APEX\nORA-06512: at "APEX_040000.WWV_FLOW_LOG", line 208\nORA-06512: at "APEX_040000.WWV_FLOW", line 12472\nORA-06512: at "APEX_040000.F", line 267\nORA-06512: at "APEX_040000.F", line 294\nORA-06512: at line 22\n
    Thanks & Regards
    Arif Khadas
    Edited by: Arif Khadas on Jun 15, 2011 1:26 PM

    Problem Solved.
    APEX TABLESPACE Problem.

Maybe you are looking for

  • APEX 4.2 bug with mobile page submit action

    Hi, I am using the APEX 4.2 mobile theme which has a "Select List" page item and where the "Page Action when Value Changed" is set to "Submit Page". The submit works when the values are in pull down but when the values come from popup window then it

  • Macros not working in adobe reader touch???

    Is it possible to have a document with working macros which update figures in a .pdf file in adobe reader touch on windows 8 rt???

  • Edit in PS from LR5

    I am not able to open PS from LR using the Edit In Command. This is a new problem. I have a Mac 10.8.4 and have restarted the computer. I am not able to round trip to  NIK or Topaz. Any ideas? Thanks, John Thomas [email protected]

  • Components import error

    Hi. There are two servers with installed Apex 3.1.2. On both servers installed the same workspace but different versions of the same application. When I export some application components from one server and then try to import these components to ano

  • Creating IMG files

    What tools should I be using to create IMG files?