compile multiple schemas in parallel

Hello everyone,

Here's my situation. I work in the company, because we have a routine that RECOMPILES an Oracle schema after each deployment. We usually do much deploys during the day for testing purposes and this recompilation help us identify invalid objects at the end of each deployment. These compilations are performed in the order. Noe I need to develop a routine that recompile the schemas in parallel using the same instance of Oracle.

Whenever I try to compile two diagrams at the same time, I get a message of invalid objects in at least one of them. However, manually compiling objects shows they are not invalid. It seems that the compilation was not made at all. This problem happen just when I need to compile in parallel. I tried to use DBMS_UTILITY.COMPILE_SCHEMA and SYS. UTL_RECOMP. RECOMP_PARALLEL without success.

So here's the question. Do you know if it is possible to compile schemas different on the same Oracle client at the same time? In the positive case, there is no guideline I should follow to achieve this?

I need to know if it is really possible to what I'm trying to do. Answer if it's possible or not (using the same Oracle connection) is enough for me.

Yes. If this doesn't work for you and thre no dependent objects between schemas, and then open an SR with Oracle.

Tags: Database

Similar Questions

  • Unique portfolio for multiple schemas in a database

    Hello

    Is it possible to create a unique portfolio for multiple schemas for the same database.

    for example: I have several users Test1, Test2 and so on in a Testdb database, then I create a unique portfolio for these users to the same database and connect?

    The PES is designed to be used on the client side - each customer can have its own PES with its letters of nobility.

    Contains the credentials: tbs_alias, username, password. Having the right (wallet_location and sqlnet.wallet_override = true) sqlnet.ora parameters, when you try to authenticate to the database at: sqlplus / @tns_alias, then the portfolio is looking for tns_alias and the username and pwd will be taken.

    This means that the tns_alias must be unique in the wallet. If you want multiple users to use the same portfolio and connect to the same database, you will need to create multiple aliases tns (different names but pointing to the same listener) for each user

  • multiple schemas

    I used a PDF form with a single schema-

    is there a description of the use of multiple schemas for a single PDF form?

    I didn't know this option to add more than one data connection with the schema / XML. Once you add a data connection, it will be gray on this option for an another data connection...

    Actually, you can have only a single schema at a time.

    Thank you

    Srini

  • Compile Apps Schema took so long

    Hi friends,

    EBS R12.1
    OEL 5.4

    I am compiling scheme apps due to an invalid object when you apply the patch. but the program is always run as 24 hours + now :(

    Have you encountered similar problem yet? Can you help me solve this kind of problem?
    adadmin
    
           Compile/Reload Applications Database Entities
       ---------------------------------------------------
    
       1.    Compile APPS schema
    
       2.    Compile menu information
    
       3.    Compile flexfields
    
       4.    Reload JAR files to database
    
       5.    Return to Main Menu
    
    
    
    
    Enter your choice [5] : 1
    
    
    sqlplus -s APPS/***** @/u01/applprod/PROD/apps/apps_st/appl/ad/12.0.0/sql/adutlrcmp.sql APPLSYS ***** APPS ***** ***** 16  0 NONE FALSE
    «The above program works forever and his has an activity when you check the status of the OS «top»»
    top - 14:27:49 up 63 days,  4:59,  6 users,  load average: 2.12, 2.17, 2.23
    Tasks: 432 total,   2 running, 430 sleeping,   0 stopped,   0 zombie
    Cpu(s): 12.5%us,  0.2%sy,  0.0%ni, 86.9%id,  0.4%wa,  0.0%hi,  0.0%si,  0.0%st
    Mem:   8171552k total,  8121216k used,    50336k free,    34908k buffers
    Swap:  8388600k total,  1101216k used,  7287384k free,  5796552k cached
    
      PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
    23133 oraprod   25   0 1227m 116m 109m R 100.0  1.5   1144:00 oracle
    27215 root      16   0 13004 1364  820 S  0.7  0.0   0:04.44 top
    18303 root      15   0 13004 1360  816 R  0.3  0.0   0:00.03 top
    23346 oradev1   15   0 1215m  41m  41m S  0.3  0.5   3:48.11 oracle
    24746 appldev1  17   0  821m 246m 6244 S  0.3  3.1   8:25.78 java
    Help, please...


    Thank you very much

    MsK

    Salvation;

    I have to run autoconfig or pre clone so that changing again appear in my backup?

    You can do it, I think it will cause any problem

    If my level of DB's RAC, I need to run the command on a single node right? no need to run on all nodes?

    No you don't need to use the same command on the other node

    Respect of
    HELIOS

  • Add multiple schemas in a tabular form?

    Hi all

    I'm creating an application in which I have to create a tabular presentation using several schemas...

    then I created a workspace and adds multiple schemas IT... and I created an application based on schema1...

    now I want to create a tabular form that uses schema2 as well... but when I'm passine the SQL as schema2.object says it query cannot be parsed...

    If someone can tell me how I can use multiple schemas in a tabular presentation...

    Thank you
    Shruti

    Hello

    Apex applications do not work with the privileges of the role, as s/n.

    This message could explain better
    Role of privilege does not not in the APEX

    BR, Jari

  • Filter multiple schemas

    Developer SQL 3.2.09

    I'm trying to filter several schmeas in SQL Developer, but it doesn't seem to work. When I add a schema, it works. When I add an additional scheme, I do not either one of the diagrams under "other users".

    Can someone try this and tell me if they get the same problem? It looks like a bug to me.

    Kind regards.

    Hello

    In the filter dialog box, I assume that you use the sign "more" to add multiple filters to diagram. Did you also press the corresponding to one radio button?

    Kind regards
    Gary
    SQL development team

  • running multiple dml in parallel

    It is possible to run the following at the same time (run all 3 inserts at the same time)?

    Insert into table1
    Select * from tablea;

    Insert into table2
    Select * from tableb.

    insert into table 3
    Select * from tablec.

    Thank you

    1. How can I spawn multiple threads in oracle?

    You can schedule jobs to run in another session (this is different from normal multithreaded development because you do not inherently have the ability to monitor or kill the other sessions you have created, those other sessions conducted with completely separate transactions, etc.) using the DBMS_JOB and DBMS_SCHEDULER, package i.e.

    DECLARE
      l_jobno NUMBER;
    BEGIN
      dbms_job.submit(
        l_jobno,
        'BEGIN INSERT INTO table1 SELECT * FROM someOtherTable; END;',
        sysdate + interval '10' second
      );
      commit;
    END;
    

    hourly, a new session to be created in 10 seconds to run your insert statement. You could plan as many jobs as you like.

    2. which is the best way to use when these inserts occur several times in a day at unexpected times?

    How many rows you insert?

    And why you copy all the data from one table to the other several times a day at odd intervals? This requirement seems weird - there may be another approach which does not copy all the data from one table to the other.

    Assuming that the data from volume is sufficient to make parallel DML valid, and assuming that the impact on the performance to make the parallel DML is acceptable (i.e. parallel execution means more machine resources will be dedicated to your session, leaving fewer resources for other sessions) I would usually be much prefer to have three DML statements in a single transaction in one sitting than everyone who happened to be executed at the same time to have several sessions of each race a Declaration of single-threaded.

    Justin

  • Synchronize the clocks of PCI I / AO with multiple AI in parallel

    I want to synchronize my HAVE and AO to run on the same clock and have my AO beginning with a relaxation from the beginning of IT.  All works beautifully except when I have another process running in parallel.  I use the cDAQ chassis 9178 and I have a low resolution HERE (9201) that runs in the context of monitoring for alarm conditions.  I want to run in parallel to my DAQ vi.

    In the vi DAQ begins AI (9222) and triggers the AO (9263), the AO clock is referenced to Dev1/AI/SampleClock and start trigger is referenced to/Dev1/I/StartTrigger

    The problem seems to be that if the 9201 collects data HAVE then my AO is actually running at that frequency of clock instead of the 9222 (since the 9201 is always launched in the background, the OD has seen this first)

    How can I tell the AO (9263) to run with the AI 9222 clock and trigger rather than the AI 9201?  I think that I do not understand how the chassis works with modules...

    Gracias.

    Hello Telleurium,

    The quick answer is call specifically on the timing engine and relaxation of timing engine. This will ensure that the 9263 and the 9222 are synchronized. Please take a look at the example below what I call specifically on the timing engineof teo.

    A more detailed explanaiton of what happens is that the 9201 seizing first the timing of AI engine (which means that it is now associated with the AI and AI trigger sample clock) so you see the 9263 is synchronized with the 9201.

    Best regards

    Izzy O.

    Technical sales engineer

    National Instruments

    www.NI.com/support

    P.S. on further notice, that it would probably be easier to point the 9201 on a different timing engine.

  • CreateSchemaBasedXML using multiple schemas

    I am trying to perform XSD validation on an XML document in PLSQL and I'm having a problem with is that it works.

    I created a XMLTYPE object, which when I call isSchemaBased() However it returns the value 0 (false). Now obviously the XMLTYPE should be the schema to be validated, I found that you can do a schema based version by calling createSchemaBasedXML against the XMLTYPE . The problem I have is that my scheme is divided into two parts (combining the schema files is not an option unfortunately), which means that when I try and createSchemaBasedXML specifying the main schema fails because it cannot resolve a reference that is imported in the second XSD document.

    -- lxml is the XMLTYPE which has been populated with the XML before this point

    dbms_xmlschema
    .registerSchema(
      schemaURL
    => mainSchemaURL,
      schemaDoc
    => mainSchemaDoc,
      local
    => true,
      genTypes
    => true,
      genTables
    => false,
      force
    => true,
      enableHierarchy
    => dbms_xmlschema.ENABLE_HIERARCHY_NONE);

    dbms_xmlschema
    .registerSchema(
      schemaURL
    => importedSchemaURL,
      schemaDoc
    => importedSchemaDoc,
      local
    => true,
      genTypes
    => true,
      genTables
    => false,
      force
    => true,
      enableHierarchy
    => dbms_xmlschema.ENABLE_HIERARCHY_NONE);

    if lxml.isSchemaBased() = 1 then
      dbms_output
    .put_line('Schema based');
    else
      dbms_output
    .put_line('Non-schema based');
    end if;

    dbms_ouput
    .put_line('About to apply schema');
    lxml
    := lxml.createSchemaBasedXML(mainSchemaURL);
    dbms_ouput
    .put_line('We don't get this far');

    lxml
    := lxml.createSchemaBasedXML(importedSchemaURL);

    Is it possible to be able to import both the mainSchemaURL and the importedSchemaURL at the same time so that the schema imported into the main schema references cause the failure.

    ORA-31079: unable to result reference to type [type containing imported type]

    Any help or pointers would be greatly appreciated.

    the code gets now where he tried to enroll in the mainSchema but fails with an exception "invalid XML document" (which is not true to say that the XSD is valid).

    It probably wasn't the complete error message.

    When I run your example I get:

    ORA-31154: invalid XML document

    ORA-19202: an error has occurred in the processing of XML

    LSX-00023: unknown namespace URI "App1/ImportedNamespace.

    ORA-06512: at "XDB". DBMS_XMLSCHEMA_INT', line 3

    ORA-06512: at "XDB". DBMS_XMLSCHEMA", line 14

    ORA-06512: at line 4 level

    Oracle is not able to solve the definition of the imported type.

    I know that the specs are not mandatory but it must also specify the schemaLocation in the import directive:

    Full test case:

    -Save the imported schema

    Start

    () dbms_xmlschema.registerSchema

    schemaURL-online "importedSchemaURL.xsd."

    schemaDoc => '

    targetNamespace = "App1/ImportedNamespace.

    xmlns = "App1/ImportedNamespace.

    elementFormDefault = "qualified".

    version = "0.1.1"

    "xmlns: XS ="http://www.w3.org/2001/XMLSchema">".

    ',

    local-online true,

    genTypes-online fake,

    genTables-online fake,

    enableHierarchy-online dbms_xmlschema. ENABLE_HIERARCHY_NONE

    );

    end;

    /

    -Save the main schema

    Start

    () dbms_xmlschema.registerSchema

    schemaURL-online "mainSchemaURL.xsd."

    schemaDoc => '

    targetNamespace = "App1/MainNamespace.

    xmlns = "App1/MainNamespace.

    elementFormDefault = "qualified".

    version = "0.1.1"

    "" xmlns: XS = "http://www.w3.org/2001/XMLSchema"

    xmlns: imported = "App1/ImportedNamespace" >

    ',

    local-online true,

    genTypes-online fake,

    genTables-online fake,

    enableHierarchy-online dbms_xmlschema. ENABLE_HIERARCHY_NONE

    );

    end;

    /

    In addition to the schemaLocation attribute, I just added a root element schema main and registered with genTypes = false (use this option if you do not use object-relational storage).

    Validation test:

    SQL > declare

    2

    doc 3 xmltype: = xmltype)

    4'

    "" 5 xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance"

    6 xsi: schemaLocation = "App1/MainNamespace mainSchemaURL.xsd" >

    ABC 7

    8    X

    9  ');

    10

    11 start

    12

    13 doc.schemaValidate ();

    14

    15 end;

    16.

    declare

    *

    ERROR on line 1:

    ORA-31154: invalid XML document

    ORA-19202: an error has occurred in the processing of XML

    LSX-00221: 'X' is too short (minimum length is 2)

    ORA-06512: at "SYS." XMLTYPE", line 354

    ORA-06512: at line 13 level

    Seems to work

  • to compile multiple indesign files

    Hello

    I need some information.

    How to compile more individual indesign files into one file?

    I added the documents in a new book file but impossible to compile them into a single indesign file.

    Nothing automatic.

    However, you can move pages of one InDesign file to another.

    You don't mention what version of InDesign, you're using.

    CS4, open your source and your documents of desitination.

    With your open source document, go to the side of the page, select move Pages in the Panel menu and set ranging from the page to move, whiich document, and what place in the order of the pages.

    You can do this with master pages as well. If your documents use the Master pages of the same name, but have different content, it would be in your best interest to rename them before moving the pages. Otherwise, be prepared to make changes after you add pages.

  • need help to compile multiple css files in swf

    Hello

    I have several (about 5) css files I want to compile in a single PERIOD (swf format) css.

    I thought that in two ways this can be done:

    1. do you have a summary of file css to all of the other files (something like "include") and compiling just this one.

    2. using mxmlc to compile all the css files in a single swf file.

    I got no indication on the web for each option.

    Does anyone know if this is possible? I can't wait to join the css files in a gigantic stylesheet...

    Thank you

    Shai

    Maybe a mxml with five blocks mx:Styles file pointing to the CSS files?

    Alex Harui

    Flex SDK Developer

    Adobe Systems Inc..

    Blog: http://blogs.adobe.com/aharui

  • dbms_datadump multiple schemas

    Hi I want to export many schema using dbms_datadump it's my script

    //////////////////////////////////////////////
    Set serveroutput on 1000000

    DECLARE
    l_dp_handle NUMBER;
    l_last_job_state VARCHAR2 (30): = "UNDEFINED";
    l_job_state VARCHAR2 (30): = "UNDEFINED";
    l_sts KU;
    BEGIN
    l_dp_handle: = dbms_datapump.open (operation = > 'EXPORT',)
    job_mode = > 'PLAN', remote_link = > NULL, job_name = >
    ('EMP_EXPORT', version = > 'COMPATIBLE');

    dbms_datapump.add_file (handle = > l_dp_handle, filename = >)
    "PD900.dmp");

    dbms_datapump.metadata_filter (handle = > l_dp_handle,)
    name = > 'SCHEMA_EXPR', value = > "="PD900"");

    dbms_datapump. START_JOB (l_dp_handle);

    dbms_datapump. Detach (l_dp_handle);
    END;
    /

    -check the status of the work
    System@db10g > SELECT * FROM dba_datapump_jobs;

    //////////////////////////////////////////////////////////////////////
    How to specify several drawing and connect to this csript
    Thank you

    value => 'IN ("SCHEMA1", "SCHEMA2")');

  • LabVIEW 2010 often crashes when deleting multiple schema objects

    LabVIEW 2010f2 has been relatively stable for me so far, but I seem to crashes to the desktop exactly under the following conditions:

    • When you remove the large sections of code (= several objects selected with the mouse, including generally bad son in the selection and then pressing the delete key).

  • How to run multiple parallel sql scripts?

    I try to execute multiple sql scripts parallel to the short run of the process via sqlplus. Are there opportunities to do? LINUX ORACLE 5. XX

    I do it too via Scheduler, but now I need to do this via sqlplus or shell + sqlplus?

    How do I start using shell script several xterminals and ech session begins all the sql scripts?

    nohup./SQL1.sh &

    nohup./sql2.sh &

    nohup./SQL3.sh &

    The '&' causes the script1.sh to run in the background so that the command prompt is returned immediately.  This means that sql2.sh can start immediately and at the same time as sql1.sh.  It doesn't have to wait for sql1.sh.   This assumes that there are no dependencies between scripts!  This meets your need to run scripts in parallel.

    The nohup untie your shell script.  So, even if you disconnect, the script continues to run.  Without the nohup, if you were to close your session before the end of the scripts running, they would get fired.

    Hemant K Collette

  • Pools of multiple connections with different s the same database schema

    Hello team,

    I have a requirement where in a single multiple schema s database are here. A schema contains old data and another schema contains data of this year. I must get in the RPD.

    A lot of tables in the schema, so before I start working I have a question, can we have several s schema with the pool of connections for each under a single database? If Yes, I would be grateful if someone can keep an image of him how he appears in the RPD. I use 11.1.1.6. Thanks in advance.

    Thank you

    SR

    I have a requirement where in a single multiple schema s database are here. A schema contains old data and another schema contains data of this year. I must get in the RPD.

    A lot of tables in the schema, so before I start working I have a question, can we have several s schema with the pool of connections for each under a single database? If Yes, I would be grateful if someone can keep an image of him how he appears in the RPD. I use 11.1.1.6. Thanks in advance.

    Create a database user has access SELECT through patterns. Then, use a Pool of single login with this user id and check the box to fully qualify table names, so that when the SQL generated it precede patterns correctly. You can create patterns according to the needs, and it will work fine.

Maybe you are looking for

  • Satellite R630 - 12G - FN key works only partially

    Hey guys! My satellite was working fine... but then suddenly one day...the fn did not show the options at the top of the screen... but I can still IE change the contrast or volume... on the other hand I can't spend my wifi or lock the mouse mat. So o

  • Problems move iTunes to new computer Windows 10

    My apologies in for raising this issue again, but I searched here and all over the web and can't seem to find an answer to my question. My old laptop Win 7 died a few weeks ago.  My new laptop is Win 10.  Fortunately, although the old machine is kapu

  • Reconfigure the connection Wireless on Satellite M160

    My wireless seems to have gone wrong somehow. The computer will not pick up or connect to my network. Is there a way I can reconfigure the connection?

  • Customize holiday card templates?

    The model for 13Photos has them all in portrait.  Is it possible to combine two adjacent portrait images into one to create a framework of landscape? Thank you Boris

  • Select FTP from the 2nd nic card

    Hello world I know there is probably a simple solution for this, but I found no search terms appropriate to find that answer so here goes... I have a pc (XPsp3) with two network adapters. Internet access to the system. The 2nd network card (USB) is a