CMS Repository Database Temp Tablespace Sizing

1.  While running some large reports Business Objects (XI 3.1 FP2.7) received an ORA-01652 (Unable to extend temp segment in tablespace TEMP) error for the CMS repository.  The CMS database is running in an independent Oracle instance with the auditing database, so only the Business Objects engine would be using the temp tablespace.  All the report information is extracted from other database instances.  This tablespace was sized at 4GB when this error occurred.
2.  What is Business Objects using the CMS repository temp tablespace for?  What are some sizing guidelines, should this tablespace be sized based on estimated report sizes, report rows, concurrent users, etc?

I'd say this has nothing to do with Webi processing and has everything to do with your Auditing DB.
Auding DB always growing and that's where that message comes.
Audit guide has more info on managing Audit DB.

Similar Messages

  • Sizing of the OLAP temp tablespace!!

    We are using 10gR2 OLAP along with Disco Plus OLAP to build a prototype. The metadata is built with AWM 10.2.0.1.0A.
    Our test data is about 40M records, 1.7G in a flat file. After loaded to a fact table via Sql*loader, it takes about 2G for the tablespace, along with 7 dim tables. Only one cube and one measure are used. A compressed composite with 6 dims in it is associated with the cube.
    However, when run the AWM maintenance steps to get a full cube aggregation. The temp tablespace for the AW shot for 30G and then generated an out of disk space error. The AW tablespace remains untouched. The maintenace cannot be finished.
    Interesting to note, the data was solved in the Xpress already. When do a eif exp/imp, the result tablespace is about 5G while the eif file takes 1.3G.
    Also, before doing this round data, we have sucessfully created and maintained a AW with very small set of data. The data is displayed in Disco Plus correctly.
    The disk space for the temp tablespace seems surprisingly demanding. We need to get an idea how much space it really needs. Is there anybody that has some contributable experience on this issue? Please reply this post. Not sure if Oracle has formal publishing on the temp tablespace sizing issue. Believe they should have one.
    Thanks,

    Chris,
    No upgrading was done here. The metadata and objects were defined using AWM model view manually, but matching to the definition on the Xpress side for the same object, like dim order etc. The fact data then dumped to a flat file from Xpress, transferred to the olap db server and loaded to a star schema with sql*loader. AWM mapping and maintenance features were used to build the cube.
    I am saying the data was solved means the summary level data was included in the dump. So we know the size of the solved cube. My reasoning is that there should be no place for the size increase to out of control because too much new summary level data was added.
    Another fact I should mention last time is all the data are in one time period. 40M is the number of tuples.
    Thanks for the help.
    Haiyong

  • Reasons to use separate temp tablespace for user tablespace

    Hi,
    I know that guideline says is not use system tablespace for user tables. But need i create for user tablespace separate TEMP teblespace or i can use same TEMP tablespace for all tablespaces?

    Hi,
    >>But need i create for user tablespace separate TEMP tablespace or i can use same TEMP tablespace for all tablespaces?
    You can use one temp tablespace for a database , Temp tablespace usage are for sorting the data.
    for more detail you can go with  :Creating Tablespaces
    HTH

  • Adding Temp tablespace to physical stand by database?

    I am getting the below error when i try to load data using SQL loader from physical stand by database to another database after making the physical stand by database in read only mode.
    ORA-25153: Temporary Tablespace is Empty.
    On primary database when i query
    SQL>select ts#,name from v$tablespace;
    TS# NAME
    2 TEMP
    On physical stand by when i query
    SQL>select ts#,name from v$tablespace;
    TS# NAME
    2 TEMP
    On primary DB when i query
    select name from v$tempfile where ts#=2;
    NAME
    /dev/vx/rdsk/oradata/tempfile0101
    On standby when i query
    SQL>select name from v$tempfile where ts#=2;
    no rows selected
    At this point do i need to add datafile to the TEMP tablespace of stand by database or just need to add TEMP tablespace to stand by database.?
    DB version:9.2.0.6
    Thank You all...

    Can you make sure that /dev/vx/rdsk/oradata/tempfile0101 is copied to standby site during the standby creation. Often it happens that the hot backups are copied to standby ste and generally they dont contain temp files. If the files is present , then i'll suggest you to do a quick bounce of standby instance to make sure that controlfile attempted to access it. You can also try recreating the standby control file on promary and copy it to standby site along with the tempfile and start the instance with new control file.
    If you want to add temp files to the standby instance, the only option you have is to add them on primary site. If you have standby_file_management as auto they will get copied over. If not you can copy the files to standby instance and restart the recovery.
    Please let us know if any of the hints are applicable to your case.
    -Ravi

  • Oracle 12C as CMS repository

    Hi Experts,
    We are in the process of installing BI 4.1 SP5 using Oracle 12 C (64bit) as our CMS System Database
    Can anyone with DBA exposure help me out with the following requisites and let me know if its acceptable for installation.
    - Character sets used (Default AL32UTF8)
    - Blocksize (Default 8k)
    - Tablespaces
    - Users and roles
    Please share any information for the above points.
    Regards,
    Diego

    Hi Diego,
    Here is  the information that I know -
    1. Database user  should have 'Owner' rights of the database.
         This KBA will also help you.
          KBA1705522 - What are the permissions needed for the CMS database - SAP BusinessObjects      Intelligence Platform 4.0? 
    2. We have to set the oracle table space to 'Auto Extend' .
          .Refer KBA 1262903 - How to increase table space for oracle repository ? 
    Hope this helps.
    Regards,
    Rukaiya

  • ORA-01652 in TEMP Tablespace

    Hi,
    We have the following errors:
    RMAN> crosscheck archivelog all;
    starting full resync of recovery catalog
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of crosscheck command at 01/07/2009 14:26:10
    RMAN-03014: implicit resync of recovery catalog failed
    RMAN-03009: failure of full resync command on default channel at 01/07/2009 14:26:10
    ORA-01652: unable to extend temp segment by in tablespace
    RMAN>
    We have tried to increase the size of the TEMP tablespace, but this operation keeps using up the entire temp tablespace. It's the temp tablespace in the target database that is filling up.
    We cannot keep increasing the size of the TEMP ts to fill the disk.
    We have also tried to create a new repository but this had the same outcome.
    I reckon there is something in the database tables, as one of our backups used the target control file as its repository. Should I remove the entries from these tables in the target tablespace to make the repository think there is no re-synching to be done?
    Regards,
    Tim.

    If you are sure that it is on the target DB what you can do is enable a trace for the event to see what triggers this error
    it doesnt have to be on temporary table because there are temp segments on normal tables used for index creation type operations as well so you need to find the problem before assuming it is temp tablespace error
    alter system set events '1652 trace name errorstack level 1';
    to turn off
    alter system set events '1652 trace name context off';
    If you cant find anything from trace then you can send the trace output here maybe somebody can catch something.
    Coskan Gundogar
    http://coskan.wordpress.com
    Edited by: coskan on Mar 30, 2009 4:28 PM

  • TEMP tablespace getting full while inserting a CLOB in Trigger

    We have a Oracle 10g (10.2.0.4.0) DB on a Solaris 9 box which also runs our J2EE web-service application on Weblogic 8sp6 server.
    We get around 220K web-service requests from upstream callers daily to insert data in the main table, say TABLE1, which has daily partitions on a date column. This table has around 21 columns out of which 1 is a CLOB column.
    Now this table has an AFTER INSERT trigger which calls a package procedure to insert the same record into another table, say TABLE2.
    From Java application insert statement in executed in below format using a weblogic jdbc connection pool :
    INSERT INTO TABLE1(COLUMN1, COLUMN2, ........., CLOB_COLUMN,........, COLUMN21) VALUES (:1, :2, :3, :4, :5, :6, :7, :8, :9, :10, :11, :12, :13, :14, :15, :16, :17, :18, :19, :20);
    Clob object is prepared in application using ojdbc14.jar.
    We are observing a strange issue here. The TEMP tablespace utilization keeps on growing as more and more inserts are executed by application and after ~125K inserts the TEMP tablespace gets full and we start getting ORA-01652 error.
    On further analysis we could see that there are only 7-10 session being maintained but as more and more inserts happen TEMP tablespace utilization goes on increasing for each of these sessions.
    When we tried with inserting just few records and then watching the session details in v$session_wait then we could see that it is in INACTIVE state and waiting for the event ‘SQL*Net message from client’. This does not seem correct as the session has successfully inserted the data and committed the transaction and we can see the data in the tables as well.
    The confusing thing here is when we modify the trigger to pass blank string('' ) instead of the CLOB column to TABLE2 then this issue does not occur. All 200K records are inserted properly and TEMP tablespace utilization also keep always below 1%.
    Can you please help us in solving this issue. Is this related to any oracle issue?
    Inside the package we have tried using DBMS_COPY statement to copy the CLOB column after insert but still same result.
    Code for reference:
    Trigger:
    =====================================
    CREATE OR REPLACE TRIGGER trg
    AFTER INSERT OR UPDATE
    ON TABLE1
    REFERENCING NEW AS NEW OLD AS OLD
    FOR EACH ROW
    BEGIN
    IF (:NEW.date_col > SYSDATE - 2)
    THEN
    IF (:NEW.cat IN (1001, 1002))
    THEN
    pkg.process_change
         (:NEW.COLUMN1,
              :NEW.COLUMN2,
              :NEW.CLOB_COLUMN,
    FLAG
    END IF;
    END IF;
    END;
    =====================================
    Package:
    =====================================
    procedure PKG.Process_change(
    p_COLUMN1 number,
    p_COLUMN2 varchar2,
    p_CLOB_COLUMN clob,
    flag boolean
    ) is
    v_watermark pls_integer;
    v_type varchar2(1);
    begin
    if (flag) then
    v_type := 'U';
    else
    v_type := 'I';
    end if;
    select t_seq.nextval into v_watermark from dual;
    insert into TABLE2(
    COLUMN1 number,
    COLUMN2 varchar2,
    CLOB_COLUMN clob,
    watermark,
    dml_type
    )values (
    p_COLUMN1 number,
    p_COLUMN2 varchar2,
    p_CLOB_COLUMN clob,
    v_watermark,
    v_dml_type
    end;
    =====================================

    My first thought on reading your post is that not only are you using a database version that is now so old it is in extended support and even then not even the most recent patchset for it.
    The first thing I would do is move to 11gR2 and if you can't do that at least get to 10.2.0.5 and apply CLOB relevant patches as well.
    Same goes for your operating system. Solaris 9 is ancient: So move to 10 which has vastly improved memory management.
    To help you further it would be really valuable to know the table layout. For example is this a heap table or an IOT? Is it partitioned? Is this RAC? What size are the CLOBs? Are they stored in-line? Chunk size? etc.
    This page should start you down the right road:
    http://docs.oracle.com/cd/B19306_01/appdev.102/b14249/adlob_tables.htm#sthref204
    But I am also wondering why you would use a trigger to, as you say, "insert the same record into another table." This description is a poster child for "bad design."

  • How to create temp files in temp tablespace

    Dear all,
    Due to outage of our SAN, we our out of production for the
    last 3 days. By the grace of Almighty we have restored production by
    database recovery from our standby backup. Since temp tablespace and
    temp data files do not taken as backup for standby, now after recovery
    we are getting abap dumps asking for temp_1 and temp_2 datafiles.
    Please guide us how to create temp files. v$tablespace is showing tablespace PSAPTEMP but datafile are not there
    Abap dumps are giving these errors as mentioned below
    ====================================================
    The exception must either be prevented, caught within the procedure            
    "DATA_SELECTION"                                                              
    "(FORM)", or declared in the procedure's RAISING clause.                       
    To prevent the exception, note the following:                                  
    Database error text........: "ORA-01157: cannot identify/lock data file 256 -  
    see DBWR trace file#ORA-01110: data file 256:                                 
    '/oracle/SD1/sapdata4/temp_2/temp.data2'"                                     
    Internal call code.........: "[RSQL/FTCH/MARA ]"                               
    ===================================================
    another one asking for 
    '/oracle/SD1/sapdata3/temp_1/temp.data1'"
    Best Regards
    Waqas

    if you want to add a new tempfile to your TEMP Tablespace,you can do like that.
    <i>ALTER TABLESPACE</i> <<b><u>name of TEMP Tablespace</u></b>> ADD TEMPFILE <<b><u><b><u>pfad to the file_and_file name</u></b></u></b>> <b>SIZE</b> <size>;
    You can use also the options <i>REUS</i>E <i>autoextend off</i> or <i>on</i> .
    e.g:
    <i>alter tablespace</i> <u><b>PSAPTEMP</b></u> add <i>tempfile</i> <b><u>'/oracle/SD1/sapdata4/temp_2/temp.data2'</u></b> <i>SIZE 1000K</i> <i>REUSE</i>;
    The directory <b><u>temp_2</u></b> should exist.
    Or you can use the BR*Tools to create a new datafile. Enter brtools and follow the instructions or menu.
    More to TEMP Tablespaces see please following SAP notes:
    <u><b>659946</b></u> - FAQ: Temporary tablespaces
    <u><b>600513</b></u> - ORA-25153 after recovery due to missing tempfiles
    and the Oracle Note:
    <u><b>160426.1</b></u>: TEMPORARY Tablespaces : Tempfiles or Datafiles ?
    I hope it helps.

  • Retrieve Fullname, e-mail from CMS repository

    I have a simple challenge for anyone who has experience with querying the CMS repository.  I have been reviewing the SDK and am really confused on the factory design and instantiation of the BO Infoobject classes.
    I need to capture the Fullname and e-mail from the CMS repository and insert into a second database's table.  It will be used as a reference to users who have access to BO.   Currently we are only using CE logins (no LDAP or Windows logins.)  
    No user interface will be required, just simple database connections from the CMS repository to the history database.
    Any help?

    You will have to add CE references to your project, but here is the code.
    Imports System
    Imports System.Data
    Imports System.Math
    Imports Microsoft.SqlServer.Dts.Runtime
    Imports CrystalDecisions.Enterprise
    Imports CrystalDecisions.Enterprise.infostore
    Imports CrystalDecisions.Enterprise.Desktop
    Public Class ScriptMain
         ' The execution engine calls this method when the task executes.
         ' To access the object model, use the Dts object. Connections, variables, events,
         ' and logging features are available as static members of the Dts class.
         ' Before returning from this method, set the value of Dts.TaskResult to indicate success or failure.
         ' To open Code and Text Editor Help, press F1.
         ' To open Object Browser, press CtrlAltJ.
         Public Sub Main()
            Dim boSessionMgr As New SessionMgr
            Dim boEnterpriseSession As EnterpriseSession = boSessionMgr.Logon("ceuser", "cepassword", "server", "secEnterprise")
            Dim boInfostore As New InfoStore(boEnterpriseSession.GetService("InfoStore"))
            'Dim boInfoobjects As InfoObjects
            Dim Users As InfoObjects
            Dim UserItem As InfoObject
            Dim UserObject As User
            Dim Fullname As String
            Dim EEmail As String
            Dim cTitle As String
            Dim Counter As Integer = 1
            'This query will bring back all infoobjects that are recurring schedules
            Users = boInfostore.Query("SELECT TOP 1000000 SI_EMAIL_ADDRESS, SI_FORCE_PASSWORD_CHANGE, SI_NAME, SI_ID, SI_USERGROUPS, SI_USERFULLNAME, SI_ALIASES, SI_DESCRIPTION, SI_LASTLOGONTIME, SI_PASSWORDEXPIRE FROM CI_SYSTEMOBJECTS Where SI_KIND='User'")       
            For Each UserItem In Users
                UserObject = CType(UserItem, User)
                Fullname = UserObject.FullName
                EEmail = UserObject.EmailAddress
                cTitle = UserItem.Title
            Next UserItem
            Dts.TaskResult = Dts.Results.Success
        End Sub
    Edited by: Doug Moloney on Jul 28, 2008 10:01 PM

  • Restored coldbackup and having trouble with TEMP tablespace

    Hi, i succesfully restored from a coldbackup on solaris.(oracle 9.2)
    i can log on to database using toad, query the database, but when i try to take an export or something i got the error
    EXP-00056: ORACLE error 1157 encountered
    ORA-01157: cannot identify/lock data file 203 - see DBWR trace file
    ORA-01110: data file 203: '/sun2int1/oracle92/app/oracle/product/9.2.1/oradata/TPRS/temp03.dbf'
    ORA-06512: at "SYS.DBMS_LOB", line 424
    ORA-06512: at "SYS.DBMS_METADATA", line 1140
    ORA-06512: at line 1
    EXP-00000: Export terminated unsuccessfully
    when i did the restore, i simply renamed the datafiles and redo logs.
    But i didnt rename the TEMP datafile, as you can not rename it with a "alter database rename file ..." command
    so thats the problem!
    i planned to create a new default temp. tablespace, and simply make it default and drop the other one. but it does not work!
    i tried to execute:
    CREATE TEMPORARY TABLESPACE temp4 TEMPFILE '/oracleAS/TPRS/oradata/TPRS/temp4.dbf' SIZE 5M REUSE AUTOEXTEND ON NEXT 1M MAXSIZE unlimited
    EXTENT MANAGEMENT LOCAL UNIFORM SIZE 1M;
    create temporary tablespace temp01 tempfile '/oracleAS/TPRS/oradata/TPRS/temp01.dbf' size 100M;
    but they all hang! i wait, but nothing happens! (and alert log does not log anything too)
    and finally i tried to drop the default tablespace, and i couldnt drop it as i thought. (ORA-12906: cannot drop default temporary tablespace
    So, im stuck and i beleive i have to RENAME the datafile for temporary tablespace. how can i do this?
    Edited by: merope on Jun 9, 2009 11:32 AM

    SQL> col file_name for a50
    col status for a15
    col tablespace_name for a15
    col PROPERTY_VALUE for a20
    select file_name,tablespace_name,bytes/1024/1024 as "SIZE_IN_MB",status,autoextensible from dba_temp_files;
    SELECT PROPERTY_NAME,PROPERTY_VALUE FROM DATABASE_PROPERTIES where PROPERTY_NAME='DEFAULT_TEMP_TABLESPACE';
    SQL> SQL> SQL> SQL> SQL> SQL> ERROR:
    ORA-01157: cannot identify/lock data file 202 - see DBWR trace file
    ORA-01110: data file 202: '/izmir1/oradbTPRS/temp1.db'
    no rows selected
    SQL>
    PROPERTY_NAME          PROPERTY_VALUE
    DEFAULT_TEMP_TABLESPACE TEMP3
    This is not the actual directory: /izmir1/oradbTPRS/temp1.db
    it is the old location, but in the restored db, the temp1.db file is in some other directory
    how can i rename this?
    Edited by: merope on Jun 9, 2009 11:50 AM

  • 9i on Linux. Problems with Temp tablespace cleanup

    I am currently running Oracle 9i Enterprise on SUSE Linux 7.2.
    I am executing queries against the new XMLType datatype and every query adds to the Temp tablespace, which doesn't get cleaned up. Eventually, the tablespace will run out of space and Oracle will issue and error:
    ORA-01652: unable to extend temp segment by 128 in tablespace <name>
    The only way to clean up the Temp tablespace seems to be by restarting the server.
    Is that happening on other platforms as well? I would appreciate any help.

    Hi
    You can connect to the database as DBA (Sys or System) and make a bigger temporal tablespace. Or create a new bigger temporary tablespace and assign it to the user.
    A10!
    PS: Temporary tablespace is used when no memory available for the session, for example when a big ORDER BY is done. Try to increase the memory assigned, just look at initXXX.ora (sort_size)

  • Full temp tablespace

    hi all,
    i faced a problem regarding full temp tablespace, i added a tempfile as an immediate measure ,but the problem was with a query
    i identified it
    the query is
    SELECT DISTINCT rt.po_unit_price item_price,
    pl.unit_meas_lookup_code uom_code,
    TO_NUMBER (porh.segment1) req_number,
    msi.segment1 item_code, pl.item_description,
    ph.po_header_id, TO_NUMBER (ph.segment1) po_number,
    TRUNC (ph.creation_date) po_date, pv.vendor_name supplier,
    pll.need_by_date, pl.quantity qty_ordered,
    rt.quantity quantity_received,
    (rt.quantity * rt.po_unit_price) pl_amount,
    ph.currency_code, isd.ige_number ge_no,
    isd.ige_date ge_date, rsh.receipt_num,
    TRUNC (rt.transaction_date) receipt_date,
    isd.lr_number gr_no, isd.transporter_name transporter,
    (SELECT SUM (j.tax_amount)
    FROM ja_in_receipt_tax_lines j
    WHERE j.shipment_header_id =
    rsl.shipment_header_id
    AND j.shipment_line_id = rsl.shipment_line_id
    AND j.tax_name LIKE 'PO%Freight%') freight,
    pvs.vat_reg_no, pvs.cst_reg_no,
    pvs.service_tax_regno st_reg_no,
    pvs.excise_duty_reg_no excise_reg_no,
    pvs.st_reg_no lst_reg_no, ai.invoice_num, ai.invoice_date,
    ai.invoice_amount invoice_amount, ai.invoice_currency_code,
    TRUNC (ai.terms_date + atl.due_days) date_of_payment,
    TRUNC (aca.check_date) payment_date, aca.check_number,
    aca.bank_account_name mode_of_payment,
    TRUNC (aip.accounting_date) gl_date
    FROM po_headers_all ph,
    po_lines_all pl,
    po_line_locations_all pll,
    po_distributions_all pod,
    po_req_distributions_all pord,
    po_requisition_lines_all porl,
    po_requisition_headers_all porh,
    mtl_system_items msi,
    po_vendors pv,
    ja_in_po_vendor_sites pvs,
    rcv_transactions rt,
    rcv_shipment_headers rsh,
    rcv_shipment_lines rsl,
    ja_in_receipt_tax_lines jirtl,
    ja_in_tax_codes jitc,
    ap_invoice_distributions_all aid,
    ap_invoices_all ai,
    ap_terms_tl att,
    ap_terms_lines atl,
    ap_invoice_payments_all aip,
    ap_checks_all aca,
    kpm_ige_security_details isd,
    kpm_ige_purchase_orders ipo
    WHERE ph.po_header_id = pl.po_header_id
    AND ph.po_header_id = pod.po_header_id
    AND pl.po_line_id = pod.po_line_id
    AND pl.po_line_id = pll.po_line_id
    AND pl.item_id = msi.inventory_item_id
    AND pod.req_distribution_id = pord.distribution_id(+)
    AND pord.requisition_line_id = porl.requisition_line_id(+)
    AND porl.requisition_header_id = porh.requisition_header_id(+)
    AND msi.organization_id = 136
    AND
    pv.vendor_id = pvs.vendor_id
    AND ph.vendor_id = pv.vendor_id
    AND ph.vendor_site_id = pvs.vendor_site_id
    AND rt.po_header_id = pl.po_header_id
    AND rt.po_line_id = pl.po_line_id
    AND rt.transaction_type = 'RECEIVE'
    AND isd.ige_header_id = ipo.ige_header_id
    AND ipo.po_header_id = ph.po_header_id
    AND rsh.shipment_header_id = rsl.shipment_header_id
    AND rt.shipment_header_id = rsl.shipment_header_id
    AND rt.shipment_line_id = rsl.shipment_line_id
    AND rsl.shipment_header_id = jirtl.shipment_header_id
    AND rsl.shipment_line_id = jirtl.shipment_line_id
    AND jirtl.tax_id = jitc.tax_id
    AND aid.po_distribution_id = pod.po_distribution_id
    AND aid.rcv_transaction_id = rt.transaction_id
    AND aid.invoice_id = ai.invoice_id
    AND ai.invoice_type_lookup_code = 'STANDARD'
    AND ai.terms_id = att.term_id
    AND att.term_id = atl.term_id
    AND aip.invoice_id(+) = ai.invoice_id
    AND aip.check_id = aca.check_id(+);
    i am unable to identify the main cause, i know some tables are large , but how do i optimize it
    I CAN SEND THE EXPLAIN PLAN ON EMAIL AS IT WONT GET DISPALYED HERE PROPERLY
    database is 10g and OS is HP UX 11.11
    the query runs perfectly on 9i
    Edited by: user7864753 on Dec 4, 2009 2:55 PM

    >
    database is 10g and OS is HP UX 11.11
    the query runs perfectly on 9iDid you compare 9i and 10g plan ?
    What changed ?
    Was the DB migrated ? How ?
    Were statistics recalculated ?
    >
    PLAN_TABLE_OUTPUT
    | Id | Operation | Name | Rows | Bytes | Cost (%CPU)|
    | 0 | SELECT STATEMENT | | 1 | 547 | 1224 (4)|
    | 1 | SORT AGGREGATE | | 1 | 31 | |
    |* 2 | TABLE ACCESS BY INDEX ROWID | JA_IN_RECEIPT_TAX_LINES | 1 | 31 | 4 (0)|
    |* 3 | INDEX RANGE SCAN | JA_IN_RECEIPT_TAX_LINES_N2 | 4 | | 3 (0)|
    | 4 | HASH UNIQUE | | 1 | 547 | 1224 (4)|
    | 5 | NESTED LOOPS | | 1 | 547 | 1223 (4)|
    | 6 | NESTED LOOPS | | 1 | 543 | 1223 (4)|
    | 7 | NESTED LOOPS | | 1 | 527 | 1220 (4)|
    | 8 | NESTED LOOPS | | 1 | 491 | 1219 (4)|
    | 9 | NESTED LOOPS | | 1 | 473 | 1216 (4)|
    | 10 | NESTED LOOPS | | 1 | 465 | 1214 (4)|
    | 11 | NESTED LOOPS | | 1 | 460 | 1213 (4)|
    | 12 | NESTED LOOPS | | 1 | 400 | 1211 (4)|
    | 13 | NESTED LOOPS | | 1 | 388 | 1204 (4)|
    | 14 | NESTED LOOPS | | 1 | 376 | 1203 (4)|
    | 15 | NESTED LOOPS | | 1 | 364 | 1202 (4)|
    | 16 | NESTED LOOPS | | 1 | 351 | 1200 (4)|
    | 17 | NESTED LOOPS | | 1 | 297 | 1192 (4)|
    | 18 | NESTED LOOPS | | 1 | 274 | 1190 (4)|
    | 19 | NESTED LOOPS | | 5 | 1050 | 1185 (4)|
    | 20 | NESTED LOOPS | | 5 | 985 | 1180 (4)|
    | 21 | NESTED LOOPS | | 5 | 935 | 1175 (4)|
    | 22 | NESTED LOOPS | | 5 | 885 | 1170 (4)|
    |* 23 | HASH JOIN | | 6 | 954 | 1158 (4)|
    |* 24 | HASH JOIN | | 6 | 684 | 1029 (4)|
    |* 25 | HASH JOIN | | 29 | 3045 | 898 (4)|
    |* 26 | HASH JOIN | | 7077 | 483K| 90 (6)|
    | 27 | VIEW | index$_join$_010 | 4217 | 123K| 57 (4)|
    |* 28 | HASH JOIN | | | | |
    | 29 | INDEX FAST FULL SCAN | PO_VENDORS_U1 | 4217 | 123K| 19 (0)|
    | 30 | INDEX FAST FULL SCAN | PO_VENDORS_U2 | 4217 | 123K| 37 (3)|
    | 31 | TABLE ACCESS FULL | JA_IN_PO_VENDOR_SITES | 7077 | 276K| 32 (7)|
    | 32 | TABLE ACCESS FULL | PO_HEADERS_ALL | 52500 | 1794K| 805 (4)|
    PLAN_TABLE_OUTPUT
    |* 33 | TABLE ACCESS FULL | KPM_IGE_PURCHASE_ORDERS | 10824 | 97416 | 130 (3)|
    | 34 | TABLE ACCESS FULL | KPM_IGE_SECURITY_DETAILS | 14910 | 655K| 128 (4)|
    |* 35 | TABLE ACCESS BY INDEX ROWID| PO_DISTRIBUTIONS_ALL | 1 | 18 | 3 (0)|
    |* 36 | INDEX RANGE SCAN | PO_DISTRIBUTIONS_N3 | 4 | | 1 (0)|
    | 37 | TABLE ACCESS BY INDEX ROWID | PO_REQ_DISTRIBUTIONS_ALL | 1 | 10 | 1 (0)|
    |* 38 | INDEX UNIQUE SCAN | PO_REQ_DISTRIBUTIONS_U1 | 1 | | 0 (0)|
    | 39 | TABLE ACCESS BY INDEX ROWID | PO_REQUISITION_LINES_ALL | 1 | 10 | 1 (0)|
    |* 40 | INDEX UNIQUE SCAN | PO_REQUISITION_LINES_U1 | 1 | | 0 (0)|
    | 41 | TABLE ACCESS BY INDEX ROWID | PO_REQUISITION_HEADERS_ALL | 1 | 13 | 1 (0)|
    |* 42 | INDEX UNIQUE SCAN | PO_REQUISITION_HEADERS_U1 | 1 | | 0 (0)|
    |* 43 | TABLE ACCESS BY INDEX ROWID | PO_LINES_ALL | 1 | 64 | 1 (0)|
    |* 44 | INDEX UNIQUE SCAN | PO_LINES_U1 | 1 | | 0 (0)|
    | 45 | TABLE ACCESS BY INDEX ROWID | MTL_SYSTEM_ITEMS_B | 1 | 23 | 2 (0)|
    |* 46 | INDEX UNIQUE SCAN | MTL_SYSTEM_ITEMS_B_U1 | 1 | | 1 (0)|
    |* 47 | TABLE ACCESS BY INDEX ROWID | RCV_TRANSACTIONS | 1 | 54 | 8 (0)|
    |* 48 | INDEX RANGE SCAN | RCV_TRANSACTIONS_N5 | 7 | | 2 (0)|
    | 49 | TABLE ACCESS BY INDEX ROWID | PO_LINE_LOCATIONS_ALL | 1 | 13 | 2 (0)|
    |* 50 | INDEX RANGE SCAN | PO_LINE_LOCATIONS_N1 | 2 | | 1 (0)|
    |* 51 | TABLE ACCESS BY INDEX ROWID | RCV_SHIPMENT_LINES | 1 | 12 | 1 (0)|
    |* 52 | INDEX UNIQUE SCAN | RCV_SHIPMENT_LINES_U1 | 1 | | 0 (0)|
    | 53 | TABLE ACCESS BY INDEX ROWID | RCV_SHIPMENT_HEADERS | 1 | 12 | 1 (0)|
    |* 54 | INDEX UNIQUE SCAN | RCV_SHIPMENT_HEADERS_U1 | 1 | | 0 (0)|
    |* 55 | TABLE ACCESS BY INDEX ROWID | AP_INVOICE_DISTRIBUTIONS_ALL | 1 | 12 | 7 (0)|
    |* 56 | INDEX RANGE SCAN | AP_INVOICE_DISTRIBUTIONS_N17 | 7 | | 2 (0)|
    |* 57 | TABLE ACCESS BY INDEX ROWID | AP_INVOICES_ALL | 1 | 60 | 2 (0)|
    |* 58 | INDEX UNIQUE SCAN | AP_INVOICES_U1 | 1 | | 1 (0)|
    |* 59 | INDEX RANGE SCAN | AP_TERMS_TL_U1 | 1 | 5 | 1 (0)|
    | 60 | TABLE ACCESS BY INDEX ROWID | AP_TERMS_LINES | 2 | 16 | 2 (0)|
    |* 61 | INDEX RANGE SCAN | AP_TERMS_LINES_U1 | 2 | | 1 (0)|
    | 62 | TABLE ACCESS BY INDEX ROWID | AP_INVOICE_PAYMENTS_ALL | 1 | 18 | 3 (0)|
    |* 63 | INDEX RANGE SCAN | AP_INVOICE_PAYMENTS_N1 | 1 | | 2 (0)|
    | 64 | TABLE ACCESS BY INDEX ROWID | AP_CHECKS_ALL | 1 | 36 | 1 (0)|
    |* 65 | INDEX UNIQUE SCAN | AP_CHECKS_U1 | 1 | | 0 (0)|
    | 66 | TABLE ACCESS BY INDEX ROWID | JA_IN_RECEIPT_TAX_LINES | 1 | 16 | 3 (0)|
    |* 67 | INDEX RANGE SCAN | JA_IN_RECEIPT_TAX_LINES_N2 | 4 | | 2 (0)|
    |* 68 | INDEX UNIQUE SCAN | JA_IN_TAX_CODES_U1 | 1 | 4 | 0 (0)|
    PLAN_TABLE_OUTPUT
    Predicate Information (identified by operation id):
    2 - filter("J"."TAX_NAME" LIKE 'PO%Freight%')
    3 - access("J"."SHIPMENT_HEADER_ID"=:B1 AND "J"."SHIPMENT_LINE_ID"=:B2)
    23 - access("ISD"."IGE_HEADER_ID"="IPO"."IGE_HEADER_ID")
    24 - access("IPO"."PO_HEADER_ID"="PH"."PO_HEADER_ID")
    25 - access("PH"."VENDOR_ID"="PV"."VENDOR_ID" AND "PH"."VENDOR_SITE_ID"="PVS"."VENDOR_SITE_ID")
    26 - access("PV"."VENDOR_ID"="PVS"."VENDOR_ID")
    28 - access(ROWID=ROWID)
    33 - filter("IPO"."PO_HEADER_ID" IS NOT NULL)
    35 - filter("POD"."REQ_DISTRIBUTION_ID" IS NOT NULL)
    36 - access("PH"."PO_HEADER_ID"="POD"."PO_HEADER_ID")
    38 - access("POD"."REQ_DISTRIBUTION_ID"="PORD"."DISTRIBUTION_ID")
    40 - access("PORD"."REQUISITION_LINE_ID"="PORL"."REQUISITION_LINE_ID")
    42 - access("PORL"."REQUISITION_HEADER_ID"="PORH"."REQUISITION_HEADER_ID")
    43 - filter("PH"."PO_HEADER_ID"="PL"."PO_HEADER_ID")
    44 - access("PL"."PO_LINE_ID"="POD"."PO_LINE_ID")
    46 - access("PL"."ITEM_ID"="MSI"."INVENTORY_ITEM_ID" AND "MSI"."ORGANIZATION_ID"=136)
    47 - filter("RT"."TRANSACTION_TYPE"='RECEIVE' AND "RT"."PO_HEADER_ID"="PL"."PO_HEADER_ID")
    48 - access("RT"."PO_LINE_ID"="PL"."PO_LINE_ID")
    50 - access("PL"."PO_LINE_ID"="PLL"."PO_LINE_ID")
    51 - filter("RT"."SHIPMENT_HEADER_ID"="RSL"."SHIPMENT_HEADER_ID")
    52 - access("RT"."SHIPMENT_LINE_ID"="RSL"."SHIPMENT_LINE_ID")
    54 - access("RSH"."SHIPMENT_HEADER_ID"="RSL"."SHIPMENT_HEADER_ID")
    55 - filter("AID"."PO_DISTRIBUTION_ID" IS NOT NULL AND
    "AID"."PO_DISTRIBUTION_ID"="POD"."PO_DISTRIBUTION_ID")
    56 - access("AID"."RCV_TRANSACTION_ID"="RT"."TRANSACTION_ID")
    filter("AID"."RCV_TRANSACTION_ID" IS NOT NULL)
    57 - filter("AI"."INVOICE_TYPE_LOOKUP_CODE"='STANDARD')
    58 - access("AID"."INVOICE_ID"="AI"."INVOICE_ID")
    59 - access("AI"."TERMS_ID"="ATT"."TERM_ID")
    61 - access("ATT"."TERM_ID"="ATL"."TERM_ID")
    63 - access("AIP"."INVOICE_ID"="AI"."INVOICE_ID")
    65 - access("AIP"."CHECK_ID"="ACA"."CHECK_ID")
    67 - access("RSL"."SHIPMENT_HEADER_ID"="JIRTL"."SHIPMENT_HEADER_ID" AND
    PLAN_TABLE_OUTPUT
    "RSL"."SHIPMENT_LINE_ID"="JIRTL"."SHIPMENT_LINE_ID")
    68 - access("JIRTL"."TAX_ID"="JITC"."TAX_ID")
    Note
    - 'PLAN_TABLE' is old version
    117 rows selected.

  • Point to a new cms repository

    Needing to point the cms repository from one oracle database located on server1 to another oracle database located on server 2.  We are using Business Objects XI R2 in a UNIX environment.  Located the following document as a reference and am wondering if the most of steps in the guide can be used in this case.
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a0536322-d13e-2b10-5095-bed93bccf902
    Thanks for your help in advance!
    LL
    Edited by: NBC-Laura on Jun 3, 2009 2:41 PM

    The document that you have can be used to move the CMS database from one Oracle server to another another.  The premise is the same just replace Mysql with Oracle so you shouldn't have a problem.  Make sure that you stop all the servers first and schedule downtime to perform this task.  The business objects servers should not be running while to migrate the Oracle database from one server to the other.  I hope that helps.

  • Oracle 9i TEMP tablespace backup problem using RMAN!

    Oracle8/8i whole backup is ok for our backup software(using RMAN without RC database), but for Oracle 9i, I get following error messages when backing up temp tablespace.
    1. RMAN-20202: tablespace not found in the recovery catalog
    2. RMAN-06019: could not translate tablespace name "TEMP"
    I check some views of Oracle9i, and know some changes happen for temp tablespace in 9i, but how to deal with this problem. Any idea, please!

    In 9i RMAN does not restore temporary datafiles. Instead, you should create them after your restore. I believe that Oracle is going to make a change to this in the next release of 9i and have RMAN create the temporary files. You can view the temporary datafiles @ v$tempfile.
    I believe RMAN doesn't restore temporary files because they are locally managed and not in the control files. RMAN reads the controlfile of the target database to obtain info about backups, datafiles, etc.
    Hope this helps.

  • To shrink the size of TEMP tablespace

    Dear all,
    There is a databse with RAC, now in OEM the size of TEMP tablespace has been reached at 99.9%. now we want to shrink the size of TEMP tablespace.
    how to we do that???????
    plz help me...........

    Temporary tablespaces usually show they are full, however this space is not actually in use. It is rather allocated. Oracle has evaluated the best way to obtain the most of performance, and he said it is better to allocate once than allocate-deallocate-reallocate extents, so temporary space is not 'released'.
    If you want to feel psychologically more confortable with lower allocated space, you can drop your tablespace (create an interim default temporary tablespace first) and recreate it.
    You can also rebuild temporary datafiles:
    alter tablespace temp add tempfile 'C:\ORACLE\ORACLEXE\ORADATA\XE\TEMP01.dbf' size 32m;
    SQL> select name from v$tempfile;
    NAME
    C:\ORACLE\ORACLEXE\ORADATA\XE\TEMP.DBF
    C:\ORACLE\ORACLEXE\ORADATA\XE\TEMP01.DBF
    SQL> alter database tempfile 'C:\ORACLE\ORACLEXE\ORADATA\XE\TEMP01.DBF' drop including datafiles;
    Database altered.

Maybe you are looking for