Is there any database parameters we need to set when using DBMS_PARALLE_EXECUTE?

Hi,
I am using dbms_parallel_execute package to do some process, I call a procedure to do the some tasks and insert data using the chunks by sql. Here is my code, I am calling p_process procedure, I am using 11g 11.2.0.3.0 - 64 bit  on windows server.
DBMS_PARALLEL_EXECUTE.CREATE_TASK ('process a');
  DBMS_PARALLEL_EXECUTE.CREATE_CHUNKS_BY_SQL (
      task_name => 'process a',
     sql_stmt => 'SELECT startid, endid FROM chng_chunks',
     by_rowid => FALSE);
        dbms_parallel_execute.run_task
        ( task_name      => 'process a',
          sql_stmt       => 'begin P_process( :start_id, :end_id ); end;',
          language_flag  => DBMS_SQL.NATIVE,
         parallel_level => 24 );
This code runs very fast on a one database and I can see it uses lots of cpus but it runs very slow on a copy of the same database on another server which has more cpus and memory. I compare v$parameter vlues and those are pretty much  identical between databases. I checked the disk spaces and both servers has plenty of free space on disks.
Now my question is, is there any other parameters that we need to set/check when using dbms_parallel_execute package.
Thanks in advance.
gg

I don't get this. Ever. Why developers insist on comparing server1 with server2, simply because their code is running on both.
It is like comparing the athletic ability of two persons, arguing that h/w wise they are the same (i.e. human), and both have green eyes (your same software). And as because these are all the same, both persons should be able to run the 100m in the same time.
Yes, the analogy is silly.. as is the warped concept amongst many developers that server1 and server2 should exhibit the same performance when running the same code.
It. Does. Not. Work. Like. That.
Want to know why server2 is exhibiting the performance it does when running your code?
Do that by ignoring server1 as it is NOT RELEVANT.
Do that by examining the workloads and resource usage of server2, and the run and wait states of your code on server2.

Similar Messages

  • Create Project Web App Instance - Failed to find Project Site object. Are there any database mounted?

    Hi
    New Installation. Sharepoint 2013, Project Server 2013 and SQL Server 2008 SP1 (another box).
    When I try to create Project Web App Instance, I get 
    Provisioning 'PWA': Post provisioning setup failed. Exception 'Microsoft.SharePoint.SPException: Failed to find Project Site object. Are there any database mounted?
     Followed by:
    Failed to provision site PWA with error: Microsoft.SharePoint.SPException: Failed to find Project Site object. Are there any database mounted?
    Already tried reinstalling the whole farm to no avail. Farm Admin account is used to do everything within this process.
    Thanks in anticipation.

    Hi
    I got the same error when provisioning the PWA
    Log Name:      Application
    Source:        Microsoft-SharePoint Products-Project Server
    Date:          8/29/2013 11:58:12 AM
    Event ID:      6966
    Task Category: Provisioning
    Level:         Error
    Keywords:     
    User:          abc\administrator
    Computer:      mycomputer
    Description:
    Provisioning 'PWA': Post provisioning setup failed. Exception 'Microsoft.SharePoint.SPException: Failed to find Project Site object. Are there any database mounted?
       at Microsoft.Office.Project.Server.Administration.ProvisionFeatureEventHandler.FeatureActivated(SPFeatureReceiverProperties properties)
       at Microsoft.SharePoint.SPFeature.DoActivationCallout(Boolean fActivate, Boolean fForce)
       at Microsoft.SharePoint.SPFeature.Activate(SPSite siteParent, SPWeb webParent, SPFeaturePropertyCollection props, SPFeatureActivateFlags activateFlags, Boolean fForce)
       at Microsoft.SharePoint.SPFeatureCollection.AddInternal(SPFeatureDefinition featdef, Version version, SPFeaturePropertyCollection properties, SPFeatureActivateFlags activateFlags, Boolean force, Boolean fMarkOnly)
       at Microsoft.SharePoint.SPFeatureCollection.AddInternalWithName(Guid featureId, Int32 compatibilityLevel, String featureName, Version version, SPFeaturePropertyCollection properties, SPFeatureActivateFlags activateFlags, Boolean force, Boolean
    fMarkOnly, SPFeatureDefinitionScope featdefScope)
       at Microsoft.SharePoint.SPFeatureCollection.AddInternal(Guid featureId, Version version, SPFeaturePropertyCollection properties, Boolean force, Boolean fMarkOnly, SPFeatureDefinitionScope featdefScope)
       at Microsoft.SharePoint.SPFeatureCollection.Add(Guid featureId)
       at Microsoft.Office.Project.Server.Administration.PsiServiceApplication.EnsureProvisioningFeature(SPSite site)
       at Microsoft.Office.Project.Server.Administration.PsiServiceApplication.CreateSite(ProjectProvisionSettings provset)'.
    Later found that the service application where I was trying to provision the PWA, it was not associated with the web-application.

  • HT1296 Just updated to iphone 5 and cant Sync with Mac.  Asking for OS 10.6 and cant find it.  Current Mac OS X Version is 10.5.8.  Is there any more downloads I need to do in order to sync new iphone 5?  Thanks

    Just updated to iphone 5 and cant Sync with Mac.  Asking for OS 10.6 and cant find it.  Current Mac OS X Version is 10.5.8.  Is there any more downloads I need to do in order to sync new iphone 5?  Thanks

    http://www.apple.com/iphone/specs.html
    Syncing with iTunes on a Mac or PC requires:
    Mac: OS X v10.6.8 or later
    PC: Windows 7; Windows Vista; or Windows XP Home or Professional with Service Pack 3 or later
    iTunes 10.7 or later (free download from www.itunes.com/download)
    Also included on the retail sales box.

  • Is there any Specific naming standards needs to be followed ?

    Hi ,
    Is there any Specific naming standards needs to be followed while in the PL/SQL Programming.
    Please help me out , If any one have any documentation for the same.
    Please mail me @ [email protected]
    Regards
    raja K

    Hold it right there, Mister! Are you planning on another endless "please mail me too"-thread, hah? Wasn't PL/SQL Coding Standards bad enough?
    C.

  • Is there any database connection limit in developer license

    Hi
    I want to load test a prototype built on platform 8.1 sp3.
    Somebody told me that the developer license has a 15 database connection limit.
    I understand the 5 IP connection limitation, but is there any database connection limit too?
    Can somebody please throw some light on what does such a limit actually mean.
    Many thanks
    nitin

    nitin chaumal wrote:
    Hi
    I want to load test a prototype built on platform 8.1 sp3.
    Somebody told me that the developer license has a 15 database connection limit.
    I understand the 5 IP connection limitation, but is there any database connection limit too?
    Can somebody please throw some light on what does such a limit actually mean.
    Many thanks
    nitinNo there is no limit on the number of DBMS connections.
    Joe

  • Is there any Database Connection Limit in the developer's license

    Hi
    I want to load test a prototype built on platform 8.1 sp3.
    Somebody told me that the developer license has a 15 database connection limit.
    I understand the 5 IP connection limitation, but is there any database connection limit too?
    Can somebody please throw some light on what does such a limit actually mean.
    Many thanks
    nitin

    nitin chaumal wrote:
    Hi
    I want to load test a prototype built on platform 8.1 sp3.
    Somebody told me that the developer license has a 15 database connection limit.
    I understand the 5 IP connection limitation, but is there any database connection limit too?
    Can somebody please throw some light on what does such a limit actually mean.
    Many thanks
    nitinNo there is no limit on the number of DBMS connections.
    Joe

  • Is there any way to an index that can be used to include the "OR condition "?

    Hello I have some questions.
    The test was conducted in the following procedure .
    create table test
    c1 varchar2(10),
    c2 varchar2(10),
    primary key(c1)
    create index test_idx1 on test(c2);
    Command> explain select * from test where c1 = 'AAAAAAAAAA' or c2 = 'AAAAAAAAAA';
    Query Optimizer Plan:
      STEP:                1
      LEVEL:               1
      OPERATION:           RowLkRangeScan
      TBLNAME:             TEST
      IXNAME:              TEST
      INDEXED CONDITION:   <NULL>
      NOT INDEXED:         TEST.C2 = 'AAAAAAAAAA' OR TEST.C1 = 'AAAAAAAAAA'
    Command>
    Command> explain select * from test where c1 = 'AAAAAAAAAA' and c2 = 'AAAAAAAAAA'
    Query Optimizer Plan:
      STEP:                1
      LEVEL:               1
      OPERATION:           RowLkRangeScan
      TBLNAME:             TEST
      IXNAME:              TEST
      INDEXED CONDITION:   TEST.C1 = 'AAAAAAAAAA'
      NOT INDEXED:         TEST.C2 = 'AAAAAAAAAA'
    Command>
    By including the "OR condition " in this test does not use the index.
    Is there any way to an index that can be used to include the "OR condition "?
    Thanks.
    GooGyum.

    A database cannot in general use indexes in this way for an 'or' involving two different columns. However, for this specific example one can easily rewrite the query using 'UNION' to use the relevant indexes while still giving the same (correct) result:
    Command> explain select * from test t1 where t1.c1 = 'AAAAAAAAAA' union select * from test t2 where t2.c2 = 'AAAAAAAAAA';
    Query Optimizer Plan:
      STEP:                1
      LEVEL:               1
      OPERATION:           RowLkRangeScan
      TBLNAME:             TEST
      IXNAME:              TEST
      INDEXED CONDITION:   T1.C1 = 'AAAAAAAAAA'
      NOT INDEXED:         <NULL>
      STEP:                2
      LEVEL:               2
      OPERATION:           RowLkRangeScan
      TBLNAME:             TEST
      IXNAME:              TEST_IDX2
      INDEXED CONDITION:   T2.C2 = 'AAAAAAAAAA'
      NOT INDEXED:         <NULL>
      STEP:                3
      LEVEL:               1
      OPERATION:           OrderBy
      TBLNAME:             <NULL>
      IXNAME:              <NULL>
      INDEXED CONDITION:   <NULL>
      NOT INDEXED:         <NULL>
      STEP:                4
      LEVEL:               2
      OPERATION:           UnionMergeSort
      TBLNAME:             <NULL>
      IXNAME:              <NULL>
      INDEXED CONDITION:   <NULL>
      NOT INDEXED:         <NULL>
    Maybe you can apply a similar trick? If you know there is no possibility of duplicate rows then you can further optimise this (in terms of performance) by using UNION ALL.
    Chris

  • Is there any way to trace my session even when i forgot to fire  spool

    Is there any way to trace my session even when i forgot to fire
    spool [file name] .................

    No, not as fa as I know.
    Traces of a session and spool are not related.
    You need to set an audit trail to trace a session.
    Spool simply spools to a file your work in SQL*Plus.
    Hope this Helps

  • Is there any possible way of deleting BBM5.0 when one's using OS5.0?

    Is there any possible way of deleting BBM5.0 when one's using OS5.0? I tried to use DM6.0 but BBM is marked as a core component impossible to delete.
    I hate BBM in general because it's always on. I don't want install an older version.
    If anyone can help me, thanks in advance.
    Solved!
    Go to Solution.

    lusilveira wrote:
    Is there any possible way of deleting BBM5.0 when one's using OS5.0? I tried to use DM6.0 but BBM is marked as a core component impossible to delete.
    I hate BBM in general because it's always on. I don't want install an older version.
    If anyone can help me, thanks in advance.
    with some 5.0.X.X OSes, the BBm is a core application and cannot be removed.
    BUT other 5.0.X.X OSes, the BBm has become an addon application and can be removed. (i.e. 5.0.0.436 and on 5.0.0.462)
    if you have the first category OS, I suggest you try and install BBm for example using AppWorld. Maybe by upgrading BBm, it will become an addon.
    The search box on top-right of this page is your true friend, and the public Knowledge Base too:

  • Is there any way to recover ePrinter account email by using a ePrinter e-mail address?

    My problem is as follows, I registered my printer onto ePrintCenter and set custom email address to my printer. But, I logged out from the ePrintCenter and sine that time I couldn't login into the ePrintCenter any more as the system says that the e-mail address I set for ePrinterCenter is not used in the system.
    So, I have my ePrinter e-mail, is there any way to recover ePrintCenter email address by using the printer email?
    Thank you, Agrifert.

    Hi Agrifert,
    Unfortunately its not possible to retrieve the email address you used to create your ePrintCenter account from the printer's ePrint email address. Are you still unable to log in to your ePrintCenter account? I'll wait to hear back from you before suggesting any further actions.
    Best.
    If my reply helped you, feel free to click on the Kudos button (hover over the "thumbs up").
    If my reply solved your problem please click on the Accepted Solution button so other Forum users may benefit from viewing the post.
    I am an HP employee.

  • Is there any way to resize already loaded preview when widget is resize?

    Is there any way to resize already loaded previews when panel widget is resize? <br />Actually, I have already a lot of preview images loaded on my preview panel's widget. when my preview panel is resize, is there any way to resize already loaded preview images without creating new preview images. <br /><br />ErrorCode CMPSImageListDataView::CreatePreview( const IDFile& previewFile, uint32 width, uint32 height, uint8 backGrey ) <br />{ <br />InterfacePtr<IPMStream> fileStream( StreamUtil::CreateFileStreamRead(previewFile) ); <br />if(!fileStream ) return kFailure; <br /><br />InterfacePtr<IK2ServiceRegistry> serviceRegistry(gSession, UseDefaultIID()); <br />if(!serviceRegistry) return kFailure; <br /><br />int numHandlers = serviceRegistry->GetServiceProviderCount(kImportProviderService); <br />for (int i = 0; i < numHandlers; i++) { InterfacePtr<IK2ServiceProvider> provider( serviceRegistry->QueryNthServiceProvider(kImportProviderService, i)); <br />InterfacePtr<IImportProvider> importProvider(provider, IID_IIMPORTPROVIDER); <br /><br />if (importProvider && importProvider->CanImportThisStream(fileStream) == IImportProvider::kFullImport) <br />{ <br />InterfacePtr<IImportPreview> preview(importProvider, IID_IIMPORTPREVIEW); <br />if(preview) <br />{ <br />bool16 reallocateNeeded = kTrue; <br />if( (this->m_fCachedImHeight == height) && (this->m_fCachedImWidth == width)) <br />reallocateNeeded = kFalse; <br /><br />if(reallocateNeeded) <br />{ <br />this->DeleteBuffers(); <br />m_fpCurAGMImage = new AGMImageRecord; <br />memset (m_fpCurAGMImage, 0, sizeof(AGMImageRecord)); <br />m_fpCurAGMImage->bounds.xMin = 0; <br />m_fpCurAGMImage->bounds.yMin = 0; <br />m_fpCurAGMImage->bounds.xMax = width; <br />m_fpCurAGMImage->bounds.yMax = height; <br />m_fpCurAGMImage->byteWidth = 3*width; <br />m_fpCurAGMImage->colorSpace = kAGMCsRGB; <br />m_fpCurAGMImage->bitsPerPixel = 24; <br />m_fpCurAGMImage->decodeArray = 0; <br />m_fpCurAGMImage->colorTab.numColors = 0; <br />m_fpCurAGMImage->colorTab.theColors = nil; <br /><br />this->m_fDataBuffer = new uint8[((m_fpCurAGMImage->byteWidth) * height)]; <br />ASSERT(this->m_fDataBuffer); <br />m_fpCurAGMImage->baseAddr = static_cast<void *>(this->m_fDataBuffer); <br /><br />this->m_fCachedImHeight = height; <br />this->m_fCachedImWidth = width; <br />} <br /><br />::memset(m_fpCurAGMImage->baseAddr, backGrey, (m_fpCurAGMImage->byteWidth) * height); <br /><br />if (m_fpCurAGMImage->baseAddr) <br />{ <br />AcquireWaitCursor busyCursor; <br />preview->Create24bitRGBPreview( (uint8*)m_fpCurAGMImage->baseAddr, width, height, fileStream, kTrue ); <br />m_fCurImageSysFile = previewFile; <br /><br />return kSuccess; <br />} <br />} <br />} <br />fileStream->Seek(0,kSeekFromStart); <br />} <br />return kFailure; <br />}

    Really Thanks!! T Schneider<br />How can I do that matrix?<br />Would you mind....?<br /><br />                    <br />PMReal imageWidth = ( m_fpCurAGMImage->bounds.xMax - m_fpCurAGMImage->bounds.xMin);<br />                    <br />PMReal imageHeight = ( m_fpCurAGMImage->bounds.yMax - m_fpCurAGMImage->bounds.yMin);<br />                    <br />PMReal xOffset = frame.GetHCenter() - imageWidth/2;<br />PMReal yOffset = frame.GetVCenter() - imageHeight/2;<br /><br />gPort->translate(xOffset, yOffset);<br />               <br />InterfacePtr<ITransform> iTransform(this, IID_ITRANSFORM);<br />PMMatrix theMatrix = iTransform->GetInnerToParentMatrix();<br /><br />.??????????????????????????????.<br /><br />ASSERT(m_fpCurAGMImage);<br />gPort->image(m_fpCurAGMImage, theMatrix, 0);

  • Is there any way to make fade transitions in movies using quicktime pro 7?

    is there any way to make fade transitions in movies using quicktime pro 7?

    thanks. i eventually found your discussion trace from a few years ago on this shubject--after i posted my question. i do have i movies--another program to learn--which i guess does have the ability to do fade transitions. i'll figure it out....
    vr
    dr

  • My iphone has been lost and already reported to the police is there any solution to get my phone imie? using the phone serial number?

    My iphone has been lost and already reported to the police is there any solution to get my phone imie? using the phone serial number?
    Help me pls

    http://support.apple.com/kb/HT4061

  • Is there a way to adjust the frame length when using a FFT

    Is there a way to adjust the frame length when using a FFT?
    Thanks,
    David

    I thought that to have a longer frame rate you just need to have a longer sample set.

  • There is no sound on my iPhone 3GS when using the iPod but the sound

    There is no sound on my iPhoen 3GS when using the iPod.   The sound works in other apps though.

    This article refers to iTunes 10 but may help you >  iTunes 10 for Mac: Transfer files between your computer and mobile apps

Maybe you are looking for

  • Query tuning for query using connect by prior

    I have written following query to fetch the data. The query is written in this format because there are multiple rows, which make one recrd and we need to bring that record into one row. For one CAT(commented here), this query takes around 4 minutes

  • Deficit of BA

    HI I create a sale order and save a Delivery order but when i try to PGI it, system replay me a error that is " deficit of BA Unrestricted-used 10 CAR " any body can solve my problems Khan Moderator message : Not related to ABAP, post in relevant for

  • Imported DNGs generated in ACR for Windows only show thumbnails

    Hi, Today I imported DNGs from pictures I've created with my 350D through the last year or so. Some of these work completely fine, but others won't show the full-resolution image; they only show a small 256 x 171 thumbnail version. There is a pattern

  • Keep getting application Manager missing or damaged error when opening application

    Application missing or damaged error when opening application. Tried CC cleaner Tried uninstalling and reinstalling Tried Short file name Tried AAM patch Tried installing Creative Cloud Just plain frustrated not getting this software to work.

  • Mixing HDV, DV, and Pictures, then exporting it all out

    I have a mix of DV, HDV, and jpegs that I've put together in Premiere Pro. The DV I upscaled using VDub to 1920x1280 (not the prettiest but no worse than it looked when I just let the tv scale it to 1080p. Actually, quite a bit better.) Now it is tim