Create MVs in Oracle 10g DB from Oracle 9i DB using DB link

The tables of an Oracle 10g database is formed mainly (about 90%) from materialized views. These views are created using a database link extracting the data from an existing Oracle 9i database (10g connecting to 9i).
The MVs created from simple queries does not take much time, but whenever a query contains "joins", time freezes and after four hours no results are registered independently of the database volume or number of transactions.
But in case the MVs are created in an Oracle 9i database (9i connecting to 9i), the full creation time varies from four minutes to twenty minutes (about 1,200,000 transactions).
All possible scenarios related to hardware and networking were tested and excluded.
The resolution of this issue is very urgent because it is preventing our institution from upgrading to Oracle 10g.

Why post this one into the OTN Feedback Forum rather than a more appropriate like General Database Discussions ?<br>
<br>
Nicolas.

Similar Messages

  • Reading BLOB from SQL Server 2005 using DB Link from Oracle 10g

    Hi All,
    I am trying to read a table's data from SQL Server 2005 using ODBC DB Link created in Oracle 10g (10.2.0.3/4) database. I am not using oracle gateway.
    I am able read all data except for the BLOB data from SQL server 2005. It gives error given below when I try to execute query SELECT * from T_TRANSACTION_DATA@sdeslink inside a stored procedure:
    ORA-22992: cannot use LOB locators selected from remote tables
    Kindly help how to read BLOB from SQL server 2005 inside Oracle 10g.
    Best Regards!
    Irfan

    Irfan,
    If you can read the blob data using 10.2 HSODBC then there should be no problem using the 11g gateway.
    I recommend you download the latest version which is 11.2.0.3 available from My oracle Support as -
    Patch 10404530: 11.2.0.3.0 PATCH SET FOR ORACLE DATABASE SERVER
    This is a full version and does not need a previous version to have bene installed. When installing it needs to be in a completlely separate ORACLE_HOME from the existing 11.2 install.
    For the Ora-22992 problem have a look at this note in My Oracle Support -
    Ora-22992 has a workaround in 10gR2 (Doc ID 436707.1)
    Regards,
    Mike

  • Error When Creating OR Rebuilding Oracle Text index using Lexer Keyword

    Hi All,
    I am getting following error when i creating oracle text index using lexer & stoplist keyword.
    Pls Help me if any body know.
    Thanks in Advance.
    Error starting at line 1 in command:
    CREATE INDEX TXT_INX_TEXT_SEARCH ON TEXT_SEARCH (BFILE_DOC)
    Post INDEXTYPE IS "CTXSYS"."CONTEXT" LOCAL (
    PARTITION "BEFORE_2007" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)') ,
    PARTITION "Q1_2007" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
    PARTITION "Q2_2007" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
    PARTITION "Q3_2007" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
    PARTITION "Q4_2007" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
    PARTITION "Q1_2008" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
    PARTITION "Q2_2008" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
    PARTITION "Q3_2008" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
    PARTITION "Q4_2008" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
    PARTITION "Q1_2009" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
    PARTITION "Q2_2009" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
    PARTITION "Q3_2009" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
    PARTITION "Q4_2009" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
    PARTITION "THE_REST" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)')
    Error at Command Line:1 Column:13
    Error report:
    SQL Error: ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
    ORA-20000: Oracle Text error:
    DRG-11000: invalid keyword LEXER
    ORA-06512: at "CTXSYS.DRUE", line 160
    ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 365
    29855. 00000 - "error occurred in the execution of ODCIINDEXCREATE routine"
    *Cause:    Failed to successfully execute the ODCIIndexCreate routine.
    *Action:   Check to see if the routine has been coded correctly.
    Regards,
    Jack R.

    Hi,
    it works if you put an extra PARAMETERS clause at the end so the creation looks like:
    CREATE INDEX TXT_INX_TEXT_SEARCH ON TEXT_SEARCH (BFILE_DOC)
    INDEXTYPE IS "CTXSYS"."CONTEXT" LOCAL (
    PARTITION "BEFORE_2007" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)') ,
    PARTITION "Q1_2007" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
    PARTITION "Q2_2007" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
    PARTITION "Q3_2007" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
    PARTITION "Q4_2007" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
    PARTITION "Q1_2008" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
    PARTITION "Q2_2008" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
    PARTITION "Q3_2008" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
    PARTITION "Q4_2008" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
    PARTITION "Q1_2009" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
    PARTITION "Q2_2009" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
    PARTITION "Q3_2009" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
    PARTITION "Q4_2009" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
    PARTITION "THE_REST" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)')
    PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)') <== Added
    Hope this helps
    Herald ten Dam

  • 10g - GRANTS from base to base using dblinks

    Hi
    I have a table_a in base_a belonging to user_a and a user_b in base_b.
    There is a dblink dblink_a from base_b to base_a
    As I would like user_b to see table_a,
    user_a issues a grant select on table_a to public
    then user_b create a synonym on table_a through dblink_a
    But I would rather issue a grant select to user_b specifically than to public.
    How do I do that???
    Thanks for your help :-)
    Edited by: JeanParis on Feb 11, 2009 7:18 AM

    JeanParis wrote:
    Hi,
    A lot of users from base_b run the application that needs the data from table_a , so I think I have to create a role, then create a dblink with that role.I'm a little confused, database links and roles are totally unrelated.
    If you create the database link and specify that the database link should use the current user, every user on BASE_B that would need to access the data from TABLE_A would need to exist on BASE_A. If that is the path you are going down, then it would make sense to create a role ROLE_A on database BASE_A, grant access to TABLE_A to ROLE_A, and then grant all the users in BASE_A this role so they can use the database link. If you create the database link and specify that a fixed account should be used to connect to BASE_A regardless of the BASE_B user currently logged in, only that fixed account would have to exist on BASE_A and only that fixed account would need to be granted privileges on TABLE_A.
    Justin

  • Adjustment layer blur from AE to PP using dynamic link

    Hi there. I'm having trouble with a project I bring into PP from AE via dynamic link.
    Here's the problem. On my AE project, I have an adjustment layer with lens blur added to it. I also have a track matte assigned to that adjustment layer, because I have a specific shape in which I want the blur to be applied. Works fine in AE.
    However, when I bring the project into PP, the adjustment layer's blur is not applied to anything in PP. It does show up as a blur on animations I created in AE, but is not applied to any footage dropped under it in PP.
    Is this normal, or is there a workaround? At this point there it seems there is no benefit in using dynamic link over exporting the project as a clip with an alpha channel.
    If it helps to understand, the project is a lower third animation. The goal is to not only have it a little transparent but also slightly blur whatever footage is behind it, only in the area of the lower third.
    Any help is much appreciated!

    The export settings in PrPro should be ok, since they are the same ones I use for every other project. I did notice that the Max Render Quality checkbox was unchecked though. I just don't know why with the preview settings at max it still looks blurry. I have noticed that if I close down the project and reopen it, the problem might go away.
    I have tried exporting in AME, but sometimes the encoder just freezes up and won't render it. Again, another random issue. Not sure why that happens. (Though I recently learned about how to clean the cache and haven't tried exporting the project since then.
    I don't know if this will help or not, but what I do is align the footage up in PrPro and then use AE to import the footage. After getting everything the way it should, I use Dynamic Link in PrPro and pull in the AE file.
    I would assemble everything in AE, but the source material is P2 footage and AE doesn't have a viewer to differenate between all the clips.
    And to make sure for all clarity purposes, I can not reppplicate this problem. It seems to come and go as it wants, almost as if my machine is haunted.

  • Create Lead with Oracle BPEL process using Siebel CRMOD web service

    I'm trying to create a lead in the siebel OD (hosted) with a oracle BPEL process and using the siebel web service (2.0). In my bpel process I've been able to
    1. Login to OD and get a session id
    2. create the partner link using Siebel OD (version 2.0) wsdl for Lead
    3. Assign the session id to the partner link
    4. Assign the inputs (lastname, firstname, leadowner, viewMode=Personal, lovLanguageMode=LDC) to lead
    5. Call the leadInsert operation on the partner link
    However, when I deploy and execute the bpel process it breaks after calling the leadInsert with the following error message:
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    <remoteFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="code"><code>Server</code>
    </part><part name="summary"><summary>The record with search specification '' in business component 'Lead' (integration component 'Lead') has been deleted by another user since it was retrieved.(SBL-EAI-04289)</summary>
    </part><part name="detail"><detail>&lt;detail>
    &lt;siebelf:siebdetail xmlns:siebelf="http://www.siebel.com/ws/fault" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
    &lt;siebelf:logfilename xmlns:siebelf="http://www.siebel.com/ws/fault" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">OnDemandServicesObjMgr_enu_138636.log&lt;/siebelf:logfilename>
    &lt;siebelf:errorstack xmlns:siebelf="http://www.siebel.com/ws/fault" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
    &lt;siebelf:error xmlns:siebelf="http://www.siebel.com/ws/fault" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
    &lt;siebelf:errorcode xmlns:siebelf="http://www.siebel.com/ws/fault" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">(SBL-DAT-00494)&lt;/siebelf:errorcode>
    &lt;siebelf:errorsymbol xmlns:siebelf="http://www.siebel.com/ws/fault" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"/>
    &lt;siebelf:errormsg xmlns:siebelf="http://www.siebel.com/ws/fault" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">The record with search specification '' in business component 'Lead' (integration component 'Lead') has been deleted by another user since it was retrieved.(SBL-EAI-04289)&lt;/siebelf:errormsg>
    &lt;/siebelf:error>
    &lt;/siebelf:errorstack>
    &lt;/siebelf:siebdetail>
    &lt;/detail>
    </detail>
    </part></remoteFault>
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    Any feedback as to what I'm doing worng woull be greatly appreciated.
    Thanks,
    --manoj                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Hi,
    We are also using BPEL to send data out to SIEBEL CRMOD.
    I've created a proxy that deals with authentication and session management.
    All you have to do is to deploy the proxy as a war file and refrence it as the end-point of your partner link.
    Code is here:
    http://another-soa-blog.blogspot.com/2010/02/oracle-siebel-on-demand-session-and.html
    Regards,
    Fred.

  • How to run a 10g Report from form in client using OC4J

    Hi,
    Every time we make a report, in order to test it we have to deploy in application server.
    In our application we make the report is written as a PDF in the server and shown in the client browser using WEB.SHOW_DOCUMENT.
    Is there a way we can do this in the development environment?
    Like this: I create a report (i.e. RDF). Now in my development machine I want the form (we use a Oracle Form as a parameter form, not the Reports para form) to have a button, and when I press this button the report has to run, create the PDF in my machine and show it my client browser.
    How to do it using OC4J??

    Steps to take.
    (1.) In command prompt type RWSERVER SERVER=repserver1 to star the rep server.
    (2.) If you get "Javaw.exe The procedure entry point psoasyn could not be located in the dynamic link library orapls10.dll." error do one of the following
            (a.) Type the full name for the server. D:\OracleDevR2\bin\rwserver SERVER=repserver1
                   or, if it does not work
            (b.) Add D:\OracleDevR2\bin to the system env. variable PATH
    (3.) Start OC4j
    (4.) Now you can access the jobs using URL like:
        http://192.161.11.143:8890/reports/rwservlet/showjobs?server=repserver1
          where 192.161.11.143 is your machine's IP address.

  • Downloading video from Sony to Premiere using i-link

    I have a Sony Handycam TRV-480 ("Digital 8" camera.
    I have a firewire card with 3 ports on my computer and I hook up my camera with one of these ports.
    I close the windows app that fires up and starts premiere elements 10. Open a "project".
    I select "Import Media" and the first camera type "DV video".
    I start the camera and set it to playback mode.
    In the window that opens I can occasionally (when I click "Import") see that the camera starts rolling the video but after a short while it all stops and I get a message that no video was sent to the PC.
    I have looked through the camera manual and found nothing  in the terms of settings that I could change. I am very confused.
    The firewire card is apparently working as is the cable.
    Help!

    If you have Windows 7...
    Legacy Driver and Capture http://forums.adobe.com/thread/869277
    - And a Picture http://forums.adobe.com/thread/727755
    Also...
    I have NOT used either, but many say to try these for SD capture http://windv.mourek.cz/ or http://www.exsate.com/products/dvcapture/
    I have NOT used it, but many say to try this for HDV capture http://strony.aster.pl/paviko/hdvsplit.htm

  • Can we call 10g Report from Form-6i???

    Hi buddies.....Can we call a report developed in 10g reports from a 6i Form using Run_Report_Object???

    Hi,
    you can run the reports in 6i. There won't be any problem. I have checked with the RDF file.
    I don't know whether the REP file which is generated in 10g can be opened in 6i or not.
    Regards,
    Manu.
    If this answer is helpful or correct, please mark it. Thanks.

  • How to create pdf files in UNIX directory from oracle reports

    I would like to know how to create pdf files in UNIX directory from oracle reports.
    Thanks,

    Please make your question more clear . Also mention the reports version.
    1) If you are runnning reports in Unix, you can give
    .... destype=file desformat=pdf desname=<filename>
    in command line
    Please refer docs below.
    2) If by your question you mean
    "My reports server is running in Windows but I want to ftp my files to Unix after creating it"
    then the answer is that you can use pluggable destination "ftp"
    .... destype=ftp desformat=pdf desname=<ftp url>
    Pluggable destinations download
    http://otn.oracle.com/products/reports/pluginxchange/index.html
    Thanks
    Ratheesh
    [    All Docs     ]
    http://otn.oracle.com/documentation/reports.html
    [     Publishing reports to web  - 10G  ]
    http://download.oracle.com/docs/html/B10314_01/toc.htm (html)
    http://download.oracle.com/docs/pdf/B10314_01.pdf (pdf)
    [   Building reports  - 10G ]
    http://download.oracle.com/docs/pdf/B10602_01.pdf (pdf)
    http://download.oracle.com/docs/html/B10602_01/toc.htm (html)
    [   Forms Reports Integration whitepaper  9i ]
    http://otn.oracle.com/products/forms/pdf/frm9isrw9i.pdf

  • Using ORADIM to create instance on Oracle 10g R2, windows platform

    Please I used the below command to create database instance to startup at the same time as of the OS is starting up.
    ORADIM -new -sid ORCL -SRVC OracleServiceORCL -STARTMODE auto -SRVCSTART system -PFILE C:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\INITORCL.ORA
    But When I shutdown the all system at OS level, and restart it, the OracleServiceORCL shows up as Started Automatic in the services tool, but when trying to connect ot the database, the following message appears Connected to an Idle instance So I have to startup manually the database.
    It's any thing wrong with my ORADIM command?
    Thanks for your cooperation

    Thanks,
    Maybe I didn't explain exactly what I was expecting with the standby database, these steps are what I did, to resolve the issue
    ENABLE THE STANDBY DATABASE TO STARTUP FROM SPFILE
    Step 1: create a newly spfile from the current pfile
    SQL> CREATE SPFILE='C:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\SPFILEORCL.ORA' FROM PFILE='C:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\INITORCL.ORA';
    Step 2: Rename the INITORCL.ORA TO SAVE_DATE_INITORCL.ORA
    Example: the C:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\INITORCL.ORA became
    C:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\SAVE_24072007_INITORCL.ORA
    Step 3: delete the former sid created
    C:\ORADIM -delete -sid orcl
    Instance deleted.
    Step 3: Change the Oracle service to start when the OS start
    C:\ ORADIM -new -sid ORCL -SRVC OracleServiceORCL -STARTMODE auto -SRVCSTART system -SPFILE
    Instance created.
    Now When I shutdown the whole system and start it up, the standby database startup. the only thing is that the standby database startup a read-only mode, defautl with oracle 10g this is fine for me, because the MRP is stopped but the log shipping is not stopped.
    So eventhough the system admin shutdown the database server at OS level without letting me know, tha standby should continue receiving archived log files.
    I'll just need to monitore the lop apply process and start it to apply archived log files received
    Thanks

  • Unable to access oracle 10g DB package from 8i using DB link

    Hi,
    We have two oracle 8174 database A and B. One of the package in A calls an package in B using db link. The database B was upgraded to 10g (10.2.0.4). After the upgrade, the package in A got invalid. When tried to compile system hangs. No error is encountered.
    In UAT there was no issues. But only in production we face above problem. Can you please advise what went wrong. Is it due to incompatibiity?

    Can You logon that user an recompile?
    I hope you will see error something...
    Pacakages on B(10g) database.. invalid or not???
    Anyway Can you recreate your packages? ... (create or replace...)
    By the way, you might check something from Oracle Support
    Good Luck

  • Steps to export and import oracle 10g databse from AIX to AIX and LINUX

    Hi,
    I need the steps to export the oracle 10g database from AIX server to AIX server and LINUX server.
    Please give me all the steps as this is my first exort an import activity.
    thanks,

    For 10g there exist two ways to do so.
    1) Regular exp/imp.
    2) Data pump expdp/impdp.
    As this is your first export and import activity, relevant concept understanding is mandatory for you.
    Documentation Link
    http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14215/toc.htm
    Read the chapters 1,2,3 (Data pump expdp/impdp) and 19 (regular exp/imp). Good luck.

  • Oracle 10g update from 10.2.0.1 to 10.2.0.4

    Hi all,
    I like to update oracle 10g database from 10.2.0.1 to 10.2.0.4 by applying patch sets, would one please suggest me the best way.
    I am planning to do in the way explained below
    method:
    # Install new Oracle Home
    # Apply the patch to the new Home
    # Shut down the database
    # Change Oracle Home to the new location
    # Start the database
    Can you one suggest me how to do "Change Oracle Home of database to the new location" and back to older oracle_home incase if there are any issues, how to do and what changes requried to make database is run without any probs..
    Thanks in advance..

    If you do it the best way is to read and follow the docs ... not ask strangers if they agree with a small number of bullet points.
    But I disagree with your entire direction. 10gR2 goes into desupport mode at the end of this month. Why move to something that will be desupported before you get there? Why not 11.1.0.7 or 11.2.0.1?
    If you must stay with 10g for awhile at least go to 10.2.0.5.

  • Creating Partitions in Oracle 10G Express Edition

    Can I create partitions in oracle 10g express edition?

    See yourself :
    http://download.oracle.com/docs/cd/B25329_01/doc/license.102/b25456/toc.htm#BABJIJCJ

Maybe you are looking for

  • 2 accounts on Mail

    I am trying to set up 2 different accounts on Mail. One is a .mac account, the other is a POP account run through a Microsoft Exchange server. Both accounts work fine by themselves on seperate computers. However, when I set them up on one iBook neith

  • Validations during PO Creation/Change

    Hi I want to do three validations during PO Creation/Change 1) After entering each item Quantity,a custom validation should be done 2) When Save Button is pressed in PO, custom values should get updated in custom table. 3) During save a validation is

  • Can the Apple TV support more multiple remote apps?

    We just got a new Apple TV and would like to use two different iPhones using different ITunes accounts to control the device through the remote app.  Is is possible?

  • Problème de mise à jour iPad

    Bonjour, J'ai pas utilisé mon iPad il y a  6 semaines environ et maintenant il est bloqué je peux pas l'utilisé, *il m'affiche le message suivant: "les données de cet iPad n'ont pas été sauvegardées depuis 6 semaines. Les sauvegardes ont lieu lorsque

  • Does time machine backup iPhoto in an optimized way?

    Question: When TM backs up iPhoto, does it save a whole new copy of the library each time, or does it somehow sort of record the changes only? I'm concerned about filling up TM too fast with a bunch of copies of my iPhoto library, since it is fairly