Reg. paralle and degree

Hi,
what is parallel and degree in oracle?
how to find the no. of cpu's attahed?
can we use parallel while rebulding the indexes?
Please answer to these questions?
Thanks in advance

user583972 wrote:
what is the difference between degree and parallel?There is no difference as such between parallel and degree. The old syntax for specifying the parallelism was PARALLEL (DEGREE n INSTANCES m), but the new syntax is basically PARALLEL or PARALLEL n.
There are two attributes that relate to the parallel execution: The degree and the number of instances the statement should be executed in a Parallel Server/RAC environment.
The parallel "degree" determines how many parallel threads or slaves are supposed to be used for parallel statement execution per database instance. So if you say parallel 2 (or in the old syntax parallel (degree 2)) then two parallel slaves will be used for execution. Note that in case sorting or grouping is used as part of the statement, or parallel DML is used, then you might end up with a second set of parallel slaves, which means you can effectively have 4 parallel slaves with a degree of 2.
The number of "instances" determine on how many nodes of a RAC/Parallel Server the parallel slaves should be spread, each using "degree" number of slaves.
How to find how many cpu's in this case?If you just say PARALLEL without any degree then you get the default PARALLEL degree, which is determined by the parameters PARALLEL_THREADS_PER_CPU (default usually = 2) and CPU_COUNT (which shows how many CPUs Oracle has detected on startup).
If you have set PARALLEL_ADAPTIVE_MULTI_USER to FALSE, then the default parallel degree will be PARALLEL_THREADS_PER_CPU * CPU_COUNT. So if Oracle detects 16 CPUs and you have default for PARALLEL_THREADS_PER_CPU, then you get a default DOP (Degree Of Parallelism) of 32, which could mean up to 64 parallel slaves if sorting/grouping is included.
Setting PARALLEL_ADAPTIVE_MULTI_USER to TRUE means that the default DOP will be reduced if multiple parallel executions are requested simultaneously.
Note that there are other constraints like the PROCESSES or PARALLEL_MAX_SERVERS parameters that might limit the maximum number of parallel slaves that can be used.
For further details, read e.g. the documentation:
http://download.oracle.com/docs/cd/B28359_01/server.111/b28313/usingpe.htm#i1007254
Regards,
Randolf
Oracle related stuff blog:
http://oracle-randolf.blogspot.com/
SQLTools++ for Oracle (Open source Oracle GUI for Windows):
http://www.sqltools-plusplus.org:7676/
http://sourceforge.net/projects/sqlt-pp/

Similar Messages

  • RADIANS and DEGREES

    Hi,
    Is there any equivalent available in Oracle for SQL Server's built-in functions namely RADIANS and DEGREES.
    Thanks
    Sam

    roll your own functions :
    create or replace
    function degrees (p_radians number) return number is
       l_result number ;
    begin
       l_result := p_radians * (180/3.114159265359) ;
       return l_result ;
    end;
    select degrees(1) X from dual ;
    X
    57.2974694

  • Reg: Message and BPM

    Hi
    I'm having a scenario where i use a JDBC adapter to extract data from a DB. As a result of the query say, 10 rows are returned as message to XI server. I have a transformation (BPM) set and the receiver(target system) is a file. When i open the file to see its contents i can see only the first record been transfered. The mapping part used for the transformation node is having IF condition. But all the fetched records satisfies the conditions in the mapping.
    Pls let me know the corrective step.
    reg: Prabhu

    Hi,
    1)Check the input XML i.e all 10 records are coming into XI . This you can check in SXMB_MONI
    2) Then you can test the mapping in the integration Reposiotry .. So now you can get if any mapping problem. For this , check is the occurence of target strcuture is 1..n or 0.n
    /people/michal.krawczyk2/blog/2005/09/16/xi-how-to-test-your-mapping-in-real-life-scenarios
    3) If mapping is correct , then check the RWB->Message Monitoring->Message Display Tool and check the payload.
    4) If this is correct, then check the File COntent Conversion of the Receiver File Adapter.
    Hope this helps,
    Regards,
    Moorthy

  • How to use SDO_GEOM.WITHIN_DISTANCE with a geodetic CRS and degree as unit?

    Hi,
    I am trying to use SDO_GEOM.WITHIN_DISTANCE on geodetic data, but I don't want to use meter as unit for the tolerance. I thought I simply can set the unit to 'Degree', but this does not work:
    select SDO_GEOM.WITHIN_DISTANCE(
    MDSYS.SDO_GEOMETRY('POINT(0 0)', 4326),
    +11,+
    MDSYS.SDO_GEOMETRY('POINT(0 10)', 4326),
    +0.00000000005,+
    +'unit=Degree') from dual;+
    ORA-13291: conversion error between the specified unit and standard unit
    ORA-06512: at "MDSYS.SDO_3GL", line 985
    ORA-06512: at "MDSYS.SDO_GEOM", line 1034
    ORA-06512: at "MDSYS.SDO_GEOM", line 1049
    ORA-06512: at line 1
    +13291. 00000 - "conversion error between the specified unit and standard unit"+
    *Cause:    Cannot convert the specified unit from/to standard unit+
    for linear distance, angle, or area.
    *Action:   Check the unit specification and respecify it.+
    What am I doing wrong?
    Update: How is the specified unit used? Is WITHIN_DISTANCE trying to convert my 10 degree into a meter value? Because then I would understand why it is not working.
    Thanks,
    Tobias
    Edited by: tsauerwein on May 19, 2010 11:23 PM

    HI Tobias,
    "Degree" is an angle unit, not a distance unit of measurement. For within_distance operations you must use a valid distance unit, which are defined in sdo_dist_units view.
    if you indeed want to represent a distance unit in "decimal degree", you may try to define one for that by yourself.
    regards
    Jeffrey

  • Reg:Planned and Actual POC

    Hi,
    I have one requirement in progress analysis that system can find out the date wise planned and actual POC e.g:-
    A1 activity having ear start date -01.03.2011  fin date-  15.03.2011
    A1 Actual date-01.03.2011 to 03.03.2011 processing =30%
    But when i run CNE1 and putting To Period =march 2011 and then cne5 system is showing result month wise planned and actual poc.
    My requirement is to get planned POC  as per date .If i will select for 3 days then planned POC also comes for 3 days and not for 15 days(01-mar to 15-mar)
    We want to use progress analysis for activity date only
    Progress version-100     
    Planned  method- Time Proportionality.
    Actual Method-Degree of processing from confirmation
    So when we confirmed the activity 30% then in actual POC it is showing 30 and in plan also for 3days(01.03.2011 to 03.03.2011).
    With Regards
    Rohit Prakash

    Hi,
    Please read the following link
    <Link deleted by moderator>
    Hope this will help you
    BR
    Anjali
    Edited by: Virendra Pal on Mar 3, 2011 12:34 PM
    No spoon feeding please - Rohit should be able to search himself

  • Reg: Exadata and /*+ FULL */ hint -

    Hi Experts,
    Recently, our database got migrated to Exadata environment, and a DBA told me that using the /*+ FULL */ hint in the query increases the query performance.
    Doubt -
    1) Does it actually enhance performance?
    2) I read some articles and got some information that Exadata does some kind of "Smart Scan" and "Cell Offloading" which makes the query efficient. But how does FULL hint contribute here?
    This links talks something about this, but not sure if correct - Some Hints for Exadata SQL Tuning - Part III - SQL Optimizer for Oracle - SQL Optimizer for Oracle - Toad World
    Please share your thoughts and advise.
    Thanks and Regards,
    -- Ranit
    ( on Oracle 11.2.0.3.0 - Exadata )

    Ranit -
    Lots of good advice given by others. A little more to add to the comments already made...
    Using a full hint as a general tuning rule on Exadata would not be a good idea, just like the sometimes proposed notion of dropping all indexes on Exadata to performance is not a good idea. As Mohamed mentions, a key performance optimization for Exadata are the smart scans, which do require direct path reads. Pushing for smart scans is what drives these types of ideas; because, other than the index fast full scan, index scans will not smart scan. However, smart scanning isn't always faster. OLTP type queries that are looking for one or two rows out of many are still usually faster with an index even on Exadata. If you find using a hint like FULL does improve a query's performance, then just as with using hints in general, it's better to determine why the optimizer is not picking the better execution plan, a full table scan in this case, in the first place; and resolve the underlying issue.
    What you will probably find is you are over-indexed on Exadata. If you have control of the indexes in your environment, test by making certain indexes invisible and seeing if that helps performance. Indexes that were created to eliminate a percentage, even a large percentage, of rows, but not almost all rows for queries are candidates to be dropped. You definitely want to tune for direct path reads.
    This is done by doing index evaluations as described; making sure your stats are accurate and up-to-date; as mentioned by Franck, be sure to gather the Exadata system stats - as this is the only thing that helps the optimizer be Exadata aware. And also, especially if you are running a data warehouse workload, you can look into using parallelism. Running queries in parallel, often even with a degree as little as 2, will help prompt the optimizer to favor direct path reads. Parallelism does need to be kept in check. Look into using the DBRM to help control parallelism - possibly even enabling parallel statement queuing.
    Hopefully these will give you some ideas of things to look at as you enter the realm of SQL Tuning on Exadata.
    Good luck!
    -Kasey

  • Reg: Open and Closed Activities in DTR

    Hello Guru's,
    I am confused with the Open and Closed Activities in DTR, What are the significance of these activities?
    And when does an Open Activity changes to Closed Activity?
    And why does an Empty Open Activity gets created?
    How does the Open Activities effect the Performance of the system?
    In NWDS what is the significance of the Public Part and the dcdef xml files?
    Please explain and if possible send the links to better understand these? I tried searching for info but with no luck.
    Appreciate the Help.
    Thanks & Regards,
    Pramod

    Dear Pramod,
    Activity in general can be considered as the wrapper of your changes.
    While working in NWDI, any modification that you perform on your source code must be associated with an Activity.
    Some Definitions:
    Client DTR: Represents the Local Track file system present on you local machine, where Checked-out a desired code from Server DTR
    Server DTR: Represents the Central Repository present on the server, where your source code is checked-in.
    Open Activities
    These are the activities that are not yet checked-in to Server-DTR, and they represent the Open Version.
    Exmple:
    1) Suppose you have made some modification in "File A" which is associated in Activity-1
    2) When you open the DTR Perspective in your Developer studio, you will be able to see all the changes that you have associated in the Activity-1, this DTR-perspective of your NWDS is also termed as Client-DTR.
    3) But, when you open the Server-DTR in DTR Web interface, you will not be able to see the same file structure that is present in your client DTR, it will not contain the changes that you have incorporated in Activity-1.
    4) The changes present in Activity-A are not available to any other developers, even if you try to use the same developer ID and load the same track, the activities are still said to be purely Local.
    Closed Activities
    These are the activities that are already Checked-in to Server-DTR and they represent Closed Version.
    Example:
    1) In the same example explained above assume that we now Check-in the Activity-1.
    2) Now, if you open the Server-DTR in DTR Web Interface, you will be able to see the same file structure that is present in your Client-DTR.
    3) Now the changes that were present in Activity-A are also available to other developers too.
    Open Activity and Performance
    1) Open Activities create a temporary entry point reference on the Server DTR you can serach for open activities in Secer DTR web interface, every single activity occupies space on your local machine. So it may affect the performance only if the activity count is very high.
    2) In the local file system, the meta data is stored in the .dcdef file in the _comp
    subfolder.
    3) The meta data is stored in the .dcdef file, every public part has its own meta data file. They are located in the def subfolder of the component and have the fileextension pp.
    Every component (DC) is defined by a set of files, stored and versioned together with the
    component in the repository.
    u2022 A file with the reserved name .dcdef stores the basic attributes such as name,
    description and component type, the parent component (if there is one), a list
    of child components (if there are any), a list of dependencies, links to the component
    sources, and the access control list. The .dcdef file must be stored directly
    in the _comp folder.
    u2022 The folder _comp/def contains one file for each public part of the component,
    which carries the name of the public part with the extension .pp. This file contains a list
    of the development objects belonging to the public part and an access control list for
    this public part.
    Both .dcdef and .pp files are stored in an XML-based format; you can display them in the
    content display of the Repository Browser or with any text editor. However, this is
    not necessary. To create and edit these files, use the component tools of the SAP NetWeaver
    Developer Studio.
    In exceptions, you can manually repair the .dcdef or a .pp file of a component.
    Note that direct manipulations are dangerous and can render a component
    unusable.
    I hope you will get a clear picture now.
    Regards,
    Shreyas Pandya

  • Reg:Opening and Closing Stock For Plant

    Hi All,
      i want to calculate the opening stock and closing stock for plant wise for the given Posting Period Date.
    Am having the opening balance and closing balance for all months but i need it as month wise.
    considering this example,
    the date is from 15.01.2010 to 15.03.2010 and for one plant
    considering this example,
    am having the opening stock from as 15.01.2010  to 15.03.2010 as 10,000 and the closing stock as 15,000.
    but i need in month wise like below,
    from 15.01.2010 to 31.01.2010 what is the opening stock and closing stock?
    from 01.02.2010 to 28.02.2010 what is the opening stock and closing stock?
    from 01.03.2010 to 15.03.2010 what is the opening stock and closing stock?
    this is purely based on plant wise and not material wise?
    could anybody say clearly how can i acheive this scenario?
    i have referred MB5b,mc.9 transaction programs but still confused how to go with plant wise for a particular period?
    Thanks & Regards,
    Suresh
    Edited by: suresh suresh on Mar 24, 2010 10:15 AM

    Hi,
    Refer to link below:
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/c1/3766e7449a11d188fe0000e8322f96/frameset.htm
    Regards,
    Venkat.

  • Strange behavior when searching a phrase using reg exp and dynamic sql

    Hi,
    I have a strange issue while using dynamic sql for an apex page. I have a requirement to search a string in the database column which is entered by user on a page item. The search process should search the whole phrase only.
    I have a query generated dynamically in the back end and use it in a cursor in the stored procedure
      SELECT t.group_cn , t.group_desc, t.group_type, t.partner_organization_id, t.partner_organization
      FROM vr_idm_group t WHERE regexp_like(t.group_desc,'(^|\W)HR Selection & Assignment(\W|$)', 'i')The pl sql code with the dynamic sql statements are below.
       IF p_search_process NOT in ('PARTNER') THEN
          OPEN v_cursor FOR v_sql;
       ELSE
          OPEN v_cursor FOR v_sql USING p_search_id;
       END IF;
       LOOP
          FETCH v_cursor INTo v_obj.group_cn, v_obj.group_desc, v_obj.group_type, v_obj.partner_organization_id,
             v_obj.partner_organization, v_obj.match_count;
          EXIT WHEN v_cursor%NOTFOUND ;
          v_search_array.extend;
          v_search_array(v_search_array.last) := v_obj;
          dbms_output.put_line(v_sql);
       END LOOP;The search works fine if the search string does not contain any special character like &,- etc.
    However, if the search string contains any special character, it does not return any thing. This strange issue happens only if I call the procedure from the apex page and the search string contains a special character. (please note that the procedure works fine even from apex if the string does not have a special character). When I debugged this, found that, the cursor does not fetch any rows (it is supposed to fetch two rows) for unknown reason. When I run the query separately, it returns the two rows (in which the column group_desc contains the search string "HR Selection & Assignment") as desired. Also, when I test the procedure in the back end (PLSQL developer), it works fine.
    Any idea, what is causing this strange behaviour?
    Advance thanks.
    Regards,
    Natarajan

    i don't see anything about a dataProvider.  you're assigning a source for a scrollpane.  scrollpane's don't have a dataProvider property.
    anyway, other than arrayRun always being false when that last if-statement executes, what's the problem?  doesn't that movieclip display when that 2nd branch of the last if-statement executes (assuming instance is defined correctly etc)?

  • Reg Drag and Drop Feedback in Captivate 7

    Hi,
    I have a drag and drop in a slide (Captivate 7) as a knowledge check.
    Problem: I need a drag and drop interaction's correct feedback to reset when the learner returns to the drag and drop slide later or clicks the back button from the next slide. Currently the correct feedback is present.
    Background: The learner completes the drag and drop and gets the 'Correct!' feedback from show action and 'Incorrect' feedback from the existing captivate failure feedback. The learner then continues the lesson by going to the next slide. The problem is that, if the learner returns to the drag and drop, the 'Correct!' feedback still shows even though the drag source items have reset to their original locations and the learner can redo the drag and drop interaction. Clicking the 'Reset' button does not remove the existing 'Correct!' feedback. Even if the learner redoes the interaction and does the opposite (e.g. if the learner got it wrong the first time, but then gets it correct this second time), the existing feedback does not change from 'Correct.'
    Any ideas on how to fix this? I understand we have to create advanced actions. Please tell me the exact steps in this instance and whether i have to execute the actions on enter or exit.
    Note: I tired to read the posts related to this. But creating the advanced options step was not given.
    Thank you.

    OK.  Just asking because I saw one of the Adobe people chime in on a similar question a day or two back.
    Unlike quiz questions, the Success and Failure Captions for drag and drop interactions appear to have Item Names which suggests they can be hidden via Advanced Actions.  You should try setting an On Slide Enter action to hide them and see if that resolves your issue.

  • Reg : BOM and production order

    Hi all,
    I have created two production orders for the same material but with diffrent BOM explosion date. now can any one please let me know how will i find which version of alternate BOM of the material is used in the production order.
    In the production order header table ( AFKO) i am getting only the alternate BOM number, i am ubable to find which version of alternate BOM is used for Production order.
    Thanks .
    VIJAY

    the relation is as below
    AFKO-STLNR = STAS-STLNR
    AFKO-STLTY = STAS-STLTY
    AFKO-STLAL= STAS-STLAL
    FROM HERE TAKE ALL
    STAS-STLKN AND STAS-STLTY
    PASS IT TO STPO
    STPO-STLNR = STAS-STLNR
    SPO-STLTY = STAS-STLTY
    STAS-STLKN-= STPO-STKLN
    THIS WILL GIVE YOU ALL THE BOM ITEMS USED IN THAT PROD ORDER.
    IS IT OKAY?

  • Reg SDCCN and USMM - Abap runtime error

    Dear Friends,
    Runtime Errors : DBIF_RSQL_SQL_ERROR
    Exception : CX_SY_OPEN_SQL_DB
    When I run a T.Code SDCCN and USMM, got abap run time error
    "SQL error in the database when accessing a table" that errors are below.
    Internal Call code is ..........[RSQL/OPEN/TBTCO]
    "DBIF_RSQL_SQL_ERROR" "CX_SY_OPEN_SQL_DB"
    "SAPLBTCH" or "LBTCHF19"
    "EXECUTE_BP_JOB_SELECT"
    The exception must either be prevented, caught within proedure
    "EXECUTE_BP_JOB_SELECT" "(FORM)", or its possible occurrence must be declared
      in the  RAISING clause of the procedure.
    This kind of errors found.
    what can i do ? Pls give me advice
    Regards
    keshav

    hi,
    please share the solution how you solve the Question.
    Because of some times i got the same dump.
    Regards,
    Ananth

  • Reg: Closing and Opening Web Dynpro Application in same browser

    Dear Experts
    In my webdynpro application when i click a button another web dynpro application is opened in another window(another browser) .
    But i want to open the second web dynpro application inside the same browser in which closing the first applicaiton and opening the second web application in same browser window .
    Please guide me to do this.
    Regards
    Arun

    hi ,
    Exit plugs have the special property that they use the defined URL parameter. After you have created the URL parameter in the parameter list on the Outbound Plugs tab page in the window editor, you can specify a value for this parameter in the method that calls the exit plug.
    ref
    link:[http://help.sap.com/saphelp_nw70ehp1/helpdata/en/48/ca3351508f04e7e10000000a42189c/content.htm]
    it would help u
    regards,
    amit

  • Reg- Travel and Expense in ESS

    Hi All
    We have already implemented Travel and Expense in ESS. Now we have below issue
    When the user creates Expense Report (Self Service -> Travel & Expense in ESS portal), at Review and Send step (step-3), there is a button - "Display Reimbursement Details"
    If user clicks this button, a PDF form is opened in new window. Problem is, all the expense types (like Airfare, Employee Activities, etc) are grouped under Others and showed in Summary of Expense Reports in the PDF form
    My doubt is, how this pdf form is getting generated, is it from std. SAP or by means of config. we need to handle? Also user says, previously it was working fine (means- All the expense types were displayed correctly in Summary of Expense Reports in the PDF form)
    But now all expenses are clubbed and showed as Others with total amount. Please help me and provide your inputs
    Vinoth

    Yes you can control in customisation
    check
    V_T706S_RECEIPT and V_T706B1
    Furthermore, in FITVFELD_WEB can you check that you have the field
    'receipt date' activated, it checks the entries in V_T706S_RECEIPT
    Please also check the customising in FITVFELD_WEB to ensure corresponds
    with customising in FITVFELD etc
    One more thing to consider is the Badi "TRIP_WEB_CUSTOMIZING" as this
    makes it possible to limit the expense types for the dropdown list if
    this is a requirement but it does it before the trip schema is
    chosen. That means that the limitation will affect all the schemas, and
    not only one.
    check note 1557710
    1. T-code SPRO. Click on Financial Accounting (New) -> Travel
    Management -> Travel Expenses -> Master Data -> Travel Expense Types ->
    Create Travel Expense Types for Individual Receipts
    2. Click on new entries

  • Reg.Open and comleted PO

    Dear Experts
    How to take Open POs in Open orders and Open PO in completed orders. We are taking two reports and compare each order with
    PO list which is so difficult. Please help me.
    Note : If order is delivered(VL01N) the PO should be closed. How to find out the delivered order from the PO list taken from ME2L.
    Thanks
    Rajakumar.K

    Hi Raja,
    You can use Tcode ME2K for sales area purchases and specify the sales order in the selection criteria and execute the report.
    Hope it helps.
    regards,
    Bijoy Kumar

Maybe you are looking for

  • Different stock between Acount view and Plant stock in MM03

    Hello Experts, In MM03 Acount view,  I found the Total stock is 1, but in plant stock view, I found the stock is Zero. There is not really any physcial invnetory so it must be a problem on the report.    And on mm03 that it was only on the finacial v

  • S_ALR_87012050 does not tie to G/L

    Hello Guru's., I am struggling with this puzzle.  I have 2 line items appearing in G/L (same asset) but only 1 is appearing on S_ALR_87012050 report.  I searched here in the network and saw that where someone else was having the same issue but was re

  • How do i extend logo

    i made 5 sec long logo in motion, In FCP how do i extend that logo without coping and pasting, it like tv logo, or looping?? does anyone know?

  • ICloud.exe - Entry Point Not Found

    The iCloud 2.1 was working well until I deleted it in error. When I tried to re-install a message appeared that says "The procedure entry point_objc_init_image could not be located in the dynamic link library objc.dll". Please help me to fix this mes

  • Camera roll and icloud

    I have backed up all my photos from my iphone to icloud. If I now delete some of these photos from my iphone how can I view them from the cloud. Will deleting from the camera roll actually delete them from the cloud. If so whats the point